shadcn-ui/ui

[bug]: Navigation Menu `div` doesn't morph along x-axis as cursor moves across `<NavigationMenuItem />`

Opened this issue Β· 3 comments

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:

Recording.2024-04-23.113932.mp4

Here's the behavior from shadcn-ui:

Recording.2024-04-23.113831.mp4

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Chrome, Windows

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

fixed in #3587

Du du du du, Bug Fixstrapppen... 🎡🎢🎡

Holy moly that was fast... Thank you! @flixlix