-
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
Fix customize widget editor toolbar so that it overlaps preview #31077
Conversation
Size Change: +108 B (0%) Total Size: 1.47 MB
ℹ️ View Unchanged
|
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.
It's not perfect but it allows us to work with the toolbar so we should merge it and come back with other PRs to fix the issues we found here.
Perhaps you both already fixed this, but it's working for me: It does show how it's not the most elegant solution in the world. I think it's a good start because it allows us to make numerous general improvements to blocks in the customizer and how that works, while keeping UI enhancements on a separate track. And that's one thing that @critterverse excellently identified in her comment here: #30720 (comment) — there is an opportunity to elevate the mobile/narrow-viewport interface across the entire block editor, and every improvement made will benefit the editing experience on physical mobile devices as well as constrained contexts. Definitely something to listen to as a separate enhancement opportunity! |
Description
Fixes #30988
Solves the issue where the widgets toolbar is offscreen on desktop.
Requires:
position: fixed
container to pull the toolbar out of its normal layerAlso fixes the tab order, so that shift-tabbing from the block goes to the toolbar. The element was in the wrong place in the DOM.
How has this been tested?
Screenshots
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist:
*.native.js
files for terms that need renaming or removal).