Join the Webstudio community

Updated 4 weeks ago

Allow submenus to be positioned to their parent

Submenus all share the same container which is positioned absolutely. There's no good way I can find to take a dropdown and align it to the parent nav item.

The only decent workaround is what Webstudio uses on the website which is left aligning them container and making the width large.

Ideally this automatically happens
Attachments
image.png
Screenshot_2023-12-13_at_9.png
O
3 comments
The idea of this navigation menu component is to look somewhat like this https://www.radix-ui.com/primitives/docs/components/navigation-menu
it was designed around the idea of a large content amount inside
actually I am gonna need to try and see if this can be used with a narrow menu and the right position, maybe it should and we only failed to implement it correctly
Add a reply
Sign up and join the conversation on Discord