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

Can't shift+click on a checkbox in firefox #510

Open
SharglutDev opened this issue Sep 19, 2024 · 0 comments
Open

Can't shift+click on a checkbox in firefox #510

SharglutDev opened this issue Sep 19, 2024 · 0 comments

Comments

@SharglutDev
Copy link
Contributor

SharglutDev commented Sep 19, 2024

Description and goal

Because of a very old firefox bug related here, when an input type="checkbox" is wrapped/reference by a label element, the shift+click is not caught by the browser.

This firefox bug prevent for using this functionality in some osrd features.

One way to solve it could be to refacto the Checkbox component by replacing the wrapper label by a div and overlapping the current hidden input element with the custom one we created and give it an opacity of 0 but it seems weird.

Acceptance criteria

By able to shift+click on a checkbox on firefox

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

1 participant