ui icon indicating copy to clipboard operation
ui copied to clipboard

fix: Issue 25 - Menubar component breaks if you move around too fast

Open fletch-r opened this issue 2 years ago • 2 comments

Issue https://github.com/shadcn/ui/issues/25 - Menubar component breaks if you move around too fast

The animate-in tailwind class was causing the bug here so I have removed it from the MenubarContent component.

Not sure why it was happening as it is an uncommon issue so I've come up empty searching for other people who have faced this issue. I'll continue to find a work around to where the animate-in can be kept on the component. For now, I was thinking one possibility could be to add a prop that gives the option to the user whether they want to enable animation? and add a warning in the docs letting the user know that any fast movement will cause the menu to freeze.

fletch-r avatar Jan 27 '23 10:01 fletch-r

Someone is attempting to deploy a commit to a Personal Account owned by @shadcn on Vercel.

@shadcn first needs to authorize it.

vercel[bot] avatar Jan 27 '23 10:01 vercel[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
ui ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 29, 2023 at 10:24AM (UTC)

vercel[bot] avatar Jan 29 '23 10:01 vercel[bot]

I believe this is fixed now. I'm going to close this issue but feel free to re-open if not. Thanks so much for helping with the fix.

shadcn avatar Sep 18 '23 12:09 shadcn