ui icon indicating copy to clipboard operation
ui copied to clipboard

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

Open codesfromshad opened this issue 1 year ago β€’ 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:

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

codesfromshad avatar Apr 23 '24 05:04 codesfromshad

fixed in #3587

flixlix avatar Apr 23 '24 21:04 flixlix

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

codesfromshad avatar Apr 24 '24 02:04 codesfromshad

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

codesfromshad avatar Apr 24 '24 02:04 codesfromshad