-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
On touch devices, when the Select component's options list is open, a second tap on the trigger component reopens the list instead of closing it. I think the expected behavior is for the second tap on the trigger to close the options list.
Link to component preview:
https://ui.shadcn.com/docs/components/select
Video with the problem:
Screen-Now-20251115T172403.mp4
Affected component/components
Select
How to reproduce
- Open Select component preview in mobile browser or using mobile mode in chrome-based browser devtools.
- Tap on trigger to open options list.
- Tap on different point inside trigger component. (If you'll tap on the same point, then options will close as expected)
Codesandbox/StackBlitz link
The reproduction is on the shadcn's website https://ui.shadcn.com/docs/components/select
Logs
System Info
Reproduced in Chrome browser on android, devtools in mobile mode in Arc browser.Before submitting
- I've made research efforts and searched the documentation
- I've searched for existing issues
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working