-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Overlapping editor notifications over admin submenus. #1630
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,8 @@ $z-layers: ( | |
'.editor-post-visibility__dialog': 30, | ||
'.editor-post-schedule__dialog': 30, | ||
'.editor-block-mover': 30, | ||
'.components-notice-list': 100000, | ||
'.components-popover': 100000, | ||
'.components-notice-list': 9989, | ||
'.components-popover': 9989, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why See previous discussion about There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Something like this:
|
||
); | ||
|
||
@function z-index( $key ) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think popovers should show up over admin submenus.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so - the notice is part of the Gutenberg UI, not something that should block you from using other wp-admin functions.
The design of traditional WP notices is very different (inline with the page, rather than popovers) but they don't suffer from this issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree about the notices, I was talking about the popovers (They can be full width and have a grayed background to cover the rest of the page)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would call this a modal. The gray background should prohibit expanding the admin menus in this case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if you open the inserter (which is a popover on a small screen), Should the inserter show up above or under the admin bar? I think it should be above