-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Interface: Update content z-index #33415
Conversation
The content z-index should be higher than a sidebar. It prevents Snackbar notices from appearing behind the block inserter.
@youknowriad I realized there was a simpler fix for this issue while working on a new landmark region for notices. |
Size Change: -2 B (0%) Total Size: 1.07 MB
ℹ️ View Unchanged
|
This breaks block preview in the inserter 😬 |
Thanks for catching this. I knew I missed something. 😅 I'll continue work on the new "notices" landmark region like we discussed yesterday. |
Closing this in favor of #33355. |
Description
Fixes #33114.
Alternative to #33355.
The content z-index should be higher than a sidebar. It prevents Snackbar notices from appearing behind the block inserter.
I wasn't able to spot any regressions caused by changing the
.interface-interface-skeleton__content
z-index. It was initially introduced to prevent background bleed on Safari iOS on small viewports - #32631. I also noticed that without z-index Snackbars work as expected, so I think this is when the bug was introduced.How has this been tested?
Types of changes
Bugfix
Checklist:
*.native.js
files for terms that need renaming or removal).