shadcn-ui / ui

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
https://ui.shadcn.com
MIT License
58.55k stars 3.19k forks source link

fix: prevent select component to open on scroll for mobile deveices #3620

Open Kibo007 opened 2 weeks ago

Kibo007 commented 2 weeks ago

On mobile devices when the user wants to scroll if touches a select component it opens and prevents the scroll. This is fix that prevents opening if select options on mobile while scrolling and opens only if the user clicks on the select component. The issue is reported here as well https://github.com/shadcn-ui/ui/issues/2654

vercel[bot] commented 2 weeks ago

@Kibo007 is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.