ui icon indicating copy to clipboard operation
ui copied to clipboard

Repeatedly clicking buttons within drawer causes drawer to close

Open ianschmitz opened this issue 1 year ago • 4 comments

See the following screen recording for repro: https://github.com/shadcn-ui/ui/assets/6355370/3fa82130-35cb-465d-922d-dd17ede1d90a

ianschmitz avatar Jan 04 '24 21:01 ianschmitz

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.

justyn-clark avatar Jan 04 '24 23:01 justyn-clark

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.

ianschmitz avatar Jan 04 '24 23:01 ianschmitz

Is the same behavior happening locally or just the site demo?

justyn-clark avatar Jan 05 '24 03:01 justyn-clark

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

ianschmitz avatar Feb 01 '24 19:02 ianschmitz

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.

shadcn avatar Feb 23 '24 23:02 shadcn