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
The switch is not toggleable when some text on the page is highlighted/selected. Can be viewed even on the documentation page for the switch component.
For anyone that has this issue, a temporary solution I applied is to create a wrapper component which has an onClick that will remove the text selection:
NextUI Version
2.4.6
Describe the bug
The switch is not toggleable when some text on the page is highlighted/selected. Can be viewed even on the documentation page for the switch component.
Your Example Website or App
https://nextui.org/docs/components/switch
Steps to Reproduce the Bug or Issue
It will only work if you double click, and not always.
Expected behavior
As a user, I would expect the focus to change to the switch and it to toggle without a problem.
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered: