You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We wanted to use the NavigationMenu for our website, but encountered a couple issues:
The menu root has config options for the hover delays and whatnot, but the triggers seem to have a hard-coded timeout of 300ms. This makes it impossible to quickly fly over the menu options using the mouse, as this value prevents menus from being reopened right away.
We'd love to have no timers whatsoever, so as soon as the mouse enters a trigger, the menu opens, and when another trigger gets activated, the menu switches right away.
You can see the desired "speed" by going to the GitHub page when logged out (or in private mode), and flicking the cursor over the navigation bar at the top:
I also noticed that there's no way to turn any of the event listeners off when passing a value of 0 to the delay props.
Additional information
I intend to submit a PR for this feature.
I have already implemented and/or tested this feature.
The text was updated successfully, but these errors were encountered:
Describe the feature
We wanted to use the NavigationMenu for our website, but encountered a couple issues:
The menu root has config options for the hover delays and whatnot, but the triggers seem to have a hard-coded timeout of 300ms. This makes it impossible to quickly fly over the menu options using the mouse, as this value prevents menus from being reopened right away.
radix-vue/packages/core/src/NavigationMenu/NavigationMenuTrigger.vue
Line 40 in 8a530ba
We'd love to have no timers whatsoever, so as soon as the mouse enters a trigger, the menu opens, and when another trigger gets activated, the menu switches right away.
You can see the desired "speed" by going to the GitHub page when logged out (or in private mode), and flicking the cursor over the navigation bar at the top:
I also noticed that there's no way to turn any of the event listeners off when passing a value of
0
to the delay props.Additional information
The text was updated successfully, but these errors were encountered: