Repeatedly clicking buttons within drawer causes drawer to close
See the following screen recording for repro: https://github.com/shadcn-ui/ui/assets/6355370/3fa82130-35cb-465d-922d-dd17ede1d90a
See the following screen recording for repro: https://github.com/shadcn-ui/ui/assets/6355370/3fa82130-35cb-465d-922d-dd17ede1d90a
Interesting discovery. I cannot reproduce the issue 10/10 times.
I tried on latest iOS/Safari and I get a different but also strange behavior. When I try to click the plus button repeatedly, most of my clicks don’t cause the number to change, but do cause the backdrop to flicker.
Is the same behavior happening locally or just the site demo?
I tried to repo in StackBlitz and was unable to. Must be something to do with the demo site then?
https://stackblitz.com/edit/stackblitz-starters-hvuoqn?file=app%2Fdrawer.tsx
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.