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
[Select] Button is being clicked beneath on responsive #439
Comments
Huh this is unexpected |
Yeah, I noticed it on my Android device (Chrome) first. |
@benoitgrelard is this a primitives bug? |
I worked on this issue more, because in my case selects were not usable. (I have around 100 items) in the select and items beneath are getting clicked. I found this issue is because that we're using On mobile devices, the event is not being stopped, and "click" event is getting activated on what's below. I tried to fix it by "prevenDefault" or "stopPropagation", but this didn't help. I did patch Issue is, that the the component feels slower now (and it actually is). It's better to be fixed with
|
Hello everyone!
On my website, I have Select inputs, and below them is the Button component. When I click on the item, the button beneath is being clicked (if the button is below the given item).
I observed, that when I click on it from mobile device, two clicks are being registered, and the next click is landing on button.
Right now my fix is to make all the dropdowns above this Button controlled & disable pointer events on a button, while they are open. (And reenable via setTimeout)
The text was updated successfully, but these errors were encountered: