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:
Describe the bug
When the cursor moves from one
<NavigationMenuItem />
to another, the expected behavior is a smooth morphing of thediv
, 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
Before submitting