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
If the Switch is unchecked, sometimes the first click will not trigger any change (and the associated onCheckedChange function doesn't get called). Clicking a second time works as expected, and then after that the behavior is normal. Not sure if this is important but that first click shows a depreciation warning in the console:
MouseEvent.mozInputSource is deprecated. Use PointerEvent.pointerType instead.
If the Switch is checked, the first click always works.
💥 Steps to reproduce
Install Firefox or Firefox Developer Edition (latest versions)
This discussion was converted from issue #2491 on May 30, 2025 19:13.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
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.
-
🐛 Bug report
If the Switch is unchecked, sometimes the first click will not trigger any change (and the associated
onCheckedChange
function doesn't get called). Clicking a second time works as expected, and then after that the behavior is normal. Not sure if this is important but that first click shows a depreciation warning in the console:If the Switch is checked, the first click always works.
💥 Steps to reproduce
🧐 Expected behavior
Switch should react on first click
🌍 System information
📝 Additional information
The Switch works fine on Safari/Chrome as far as I've tested.
Beta Was this translation helpful? Give feedback.
All reactions