Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkbox: become checked even when clicked using the right/middle mouse button #3419

Closed
ThiefMaster opened this issue Feb 7, 2019 · 3 comments

Comments

@ThiefMaster
Copy link

Bug Report

Steps

Click any checkbox on https://react.semantic-ui.com/modules/checkbox/ with the right or middle mouse button

Expected Result

Nothing (except the browser's default action for that mouse button, i.e. opening the context menu / autoscrolling)

Actual Result

The checkbox was toggled


This is quite annoying as someone who uses both middle-button autoscrolling and right-button-based mouse gestures a lot: I do not expect either of these actions to trigger actions on websites, and for the standard checkboxes in both the browser and the operating system (I think it's consistent across windows, linux, probably macos as well) only the left mouse button toggles the checkbox.

@layershifter layershifter changed the title Checkboxes trigger even when clicked using the right/middle mouse button Checkbox: become checked even when clicked using the right/middle mouse button Feb 7, 2019
@triage-new-issues triage-new-issues bot removed the triage label Feb 7, 2019
@layershifter
Copy link
Member

Native input doesn't have this behavior, should be fixed:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox

@harish-a
Copy link
Contributor

harish-a commented Feb 8, 2019

@layershifter I can take this issue

@layershifter
Copy link
Member

Sure 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants