-
-
Notifications
You must be signed in to change notification settings - Fork 105
Description
Is your feature request related to a problem? Please describe.
If you use the NavigationMenu component, currently the Viewport component is always positioned in the middle. I think is a common usecase for collapsed Navbar style navigation.
Describe the solution you'd like
I would like if there was some optional prop on the NavigationMenu components, which allows for the viewport to orient itself/move along the current active trigger.
Describe alternatives you've considered
I considered the MenuBar component as an alternative solution. However there are Theo issues preventing it from working properly for this case:
- no proper support for vertical orientation, meaning keyboard navigation is incorrect
- the first menu has to be triggered via click
Additional context
Solving the issue on menubar would probably be equally useful. Not sure which is the more fitting component for this pattern.
