-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow submenus to be positioned #849
Comments
We need smart submenus. Right now, they're either shown or hidden via CSS only, which gives us no control on positioning |
@giladgray Gotcha! Since submenus use |
I'm not clear on the status here - is this an easy fix, something an app can do today, or still a further out thing? |
decidedly not an easy fix because submenus are |
I have a very hacky, not particularly well tested (haven't tried sub-sub-menus), "solution" that we'll use so that we can move forward. This replaces https://github.com/palantir/blueprint/blob/master/packages/core/src/components/menu/menuItem.tsx#L133:
The changed props are |
Currently if a menu is at the bottom of the screen and has a submenu that extends past the screen, you can never click on the submenu because it expands the screen size, closes, reopens, and bounces back and forth
If submenus were able to position to the top instead of the bottom this would not happen
The text was updated successfully, but these errors were encountered: