Conversation
|
Size Change: 0 B Total Size: 7.76 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
The z-index stuff smells overall and seems like it could use an investigation. Unclear if it's even safe to add stacking context isolation, since the component wraps consumer content. Leaving as is for the scope of this PR.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
What?
Removes
.components-resizable-box__handle,.components-resizable-box__side-handle, and.components-resizable-box__corner-handlefrom the shared$z-layersmap inpackages/base-styles/_z-index.scssand setsz-index: 2directly inpackages/components/src/resizable-box/style.scss.Why?
These handles only need a local stacking value (above typical block focus outlines at
z-index: 1, and ordering within the resize UI).Testing Instructions
@wordpress/componentsor open the block editor.z-index: 2.