Open blesildaramirez opened 3 weeks ago
Hi @blesildaramirez ! When you mentioned submenu
you mean the item inside <NavigationMenuContent />
? Perhaps similar to https://github.com/radix-vue/radix-vue/issues/1315 ? 😁
Hi @zernonia , you're right. It's the <NavigationMenuContent />
. And yes it's similar to #1315, although my request is to only close the NavigationMenuContent
when the NavigationMenuTrigger
is clicked again, similar to how clicking it displays the NavigationMenuContent
when disableHoverTrigger=true
.
Describe the feature
Currently, the
disableHoverTrigger
prop allows toggling the hover trigger for theNavigationMenu
, which works as expected. When set totrue
, the menu will activate only on click. However, if the user loses focus or moves the cursor away from the submenu items, the menu closes immediately. I propose keeping the submenu visible until the parent menu is clicked again, providing a more consistent and user-friendly experience.Additional information