shadcn simple dropdown navigation menu?
Unanswered
American black bear posted this in #help-forum
American black bearOP
## Problem
I am struggling to implement a simple nested dropdown menu using the
How can I position
## Expected Behavior
I want to achieve something similar to a
Am I using the wrong component for the job here? Is there a simple solution that does not require making my custom menu component behavior and accessibility using
I am struggling to implement a simple nested dropdown menu using the
NavigationMenu component. I've attached a video of my problem below.How can I position
NavigationMenuContent relative to each NavigationMenuTrigger?## Expected Behavior
I want to achieve something similar to a
DropdownMenu/Popover component, where the Content is positioned relative to Trigger and still persists the onHover smart opening/closing behavior and accessibility behavior that the NavigationMenu component has.Am I using the wrong component for the job here? Is there a simple solution that does not require making my custom menu component behavior and accessibility using
Dropdown and Popover?3 Replies
@American black bear ## Problem
I am struggling to implement a simple nested dropdown menu using the `NavigationMenu` component. I've attached a video of my problem below.
How can I position `NavigationMenuContent` relative to each `NavigationMenuTrigger`?
## Expected Behavior
I want to achieve something similar to a `DropdownMenu`/`Popover` component, where the `Content` is positioned relative to `Trigger` and still persists the `onHover` smart opening/closing behavior and accessibility behavior that the `NavigationMenu` component has.
Am I using the wrong component for the job here? Is there a simple solution that does not require making my custom menu component behavior and accessibility using `Dropdown` and `Popover`?
I recommend you to view some navbar templates only, the actual source code to understand how its done
American black bearOP
where can i find these navbar templates