-
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
[WP6.7] Keep meta boxes unsplit from content in device previews #68902
[WP6.7] Keep meta boxes unsplit from content in device previews #68902
Conversation
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. |
Size Change: +109 B (+0.01%) Total Size: 1.77 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.
To test this PR, I fixed the lint errors and re-merged the wp/6.7
branch (See #68886). With this PR, the editor canvas and meta boxes will no longer overlap.
I think it would be a good idea to ship this PR in 6.7, what do you think?
I agree that this would be good to get in 6.7 especially since the fix has now been included in multiple versions of Gutenberg. |
I was a little hasty resolving the conflict 😅. Thanks for the fix-up.
The fix that’s been in Gutenberg is different (#66706) and might indicate it is the more tested one. Anyway, I have equal confidence in them and defer to other contributors on which should go in 6.7. |
I would like to merge this PR. Both this PR and #66706 work fine, but merging #66706 would have a big impact on users. That is, the regular meta boxes would be changed to the resizable meta boxes in the legacy canvas. This change will of course happen in WP 6.8, but I would like to adopt this PR as it has less impact for a minor release. |
What?
Avoids obscured device previews when meta boxes are present in the Post editor.
Why?
Fixes #66629 minimally with the solution proposed by Aki from the issue.
How?
Makes device previews a condition for displaying the meta boxes as they are when the canvas is not iframed and revises styling so there’s a no clipping of the fixed canvas height of device previews.
Testing Instructions
Device previews
Desktop view
Ensure the split view works as before:
Testing Instructions for Keyboard
Screenshots or screencast
meta-boxes-device-previews-same-scrolling-area.mp4