-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
fix: Disable text selection for <Select> options #6525
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Lighthouse Results
|
AugustinMauroy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ! Thanks for your first contribution 🎉
ovflowd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is a nice little fix and extremely appreciated :)
|
I'm fast-tracking this PR! |
Description
There's a strange behavior in Firefox when you try to pick a Node.js version from the select component on the Downloads page. Once you click on an option it also starts a text selection mode which you can see in the video below:
beforeselect.mov
This PR fixes it by disabling text selection for the options inside the
<Select>component.Validation
selectafter.mov
Related Issues
Check List
npx turbo formatto ensure the code follows the style guide.npx turbo testto check if all tests are passing.npx turbo buildto check if the website builds without errors.