-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[BUG] - The Select
component cannot be closed on mobile devices
#4603
Comments
Note 1: It cannot even be controlled to open then close by touch the button. https://www.heroui.com/docs/components/select#controlling-the-open-state Note 2: The |
Do you find a solution to the issue? |
Some possible related notes with useAriaButton or not using it:
On both mobile and desktop onOpenChange fires more than once - 3 times on desktop (false / true / false) and 2 times on mobile (false / true); seem like some sort of state management problem |
Select
component cannot be closed as expectedSelect
component cannot be closed on mobile devices
This issue can be reproduced on the doc website. https://www.heroui.com/docs/components/select
Expected: Clicking the
Select
trigger can open the menu. Clicking the trigger again can close it.Currently: After clicking to open the dropdown menu, it can only be closed by using the mouse to click the trigger, touching does not work (including simulating a touchscreen device through the console). It will quickly close and then reopen, can only be closed by clicking on other empty areas or selecting any item.
Env: Windows/Android Chrome
The text was updated successfully, but these errors were encountered: