ui
ui copied to clipboard
[bug]: Navigation Menu `div` doesn't morph along x-axis as cursor moves across `<NavigationMenuItem />`
Describe the bug
When the cursor moves from one <NavigationMenuItem /> to another, the expected behavior is a smooth morphing of the div, the div snaps based on the size of the next <NavigationMenuItem />.
Affected component/components
Navigation Menu
How to reproduce
Here's a video of the expected behavior from Radix UI:
https://github.com/shadcn-ui/ui/assets/92628452/c580561a-c4a8-4c7e-a183-fe8018eb54ea
Here's the behavior from shadcn-ui:
https://github.com/shadcn-ui/ui/assets/92628452/780d99dc-15b0-4808-8428-2fb46c7b944a
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Chrome, Windows
Before submitting
- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
fixed in #3587
Du du du du, Bug Fixstrapppen... π΅πΆπ΅
Holy moly that was fast... Thank you! @flixlix