You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, a semantically valid label will "transfer" its hover event to the input this label is pointing to via for. This native behavior is missing in the current Switch component.
Currently:
How native label and input would work:
I have created a small PR #2265 to demonstrate how this could be implemented.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
By default, a semantically valid label will "transfer" its hover event to the input this label is pointing to via for. This native behavior is missing in the current Switch component.
Currently:
How native
label
andinput
would work:I have created a small PR #2265 to demonstrate how this could be implemented.
Beta Was this translation helpful? Give feedback.
All reactions