-
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
No abbility to ContextMenu.show after modal dialog #2131
Comments
this behavior is most certainly intentional, and kind of par for the course. overlays open in a stack simply due to DOM ordering, so if you open a Dialog over a Popover (context menu), it's going to cover it. |
what if you want to show a context menu on an item in a Dialog? |
have to use dirty hack with setup z-index on selector |
not sure how my comment got deleted, but I'm pretty sure the issue is here, where we only ever create the context menu portal container element once per instance of blueprint:
|
oh ok that's reasonable. we can make a new element each time. |
As ContextMenu.show uses single DOM element, if modal popover made after first time ContextMenu.show - new menu is behind modal dialog popover.
The text was updated successfully, but these errors were encountered: