mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(toggle): labelText
should not be selectable (#1415)
This adds a `user-select: none` rule to avoid selecting the `Toggle` label text when rapidly clicking it.
This commit is contained in:
parent
f4d12b805a
commit
a3264bd667
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@
|
|||
<div
|
||||
class:bx--form-item="{true}"
|
||||
{...$$restProps}
|
||||
style="{$$restProps['style']}; user-select: none"
|
||||
on:click
|
||||
on:mouseover
|
||||
on:mouseenter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue