-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 incorrect meta box position when switching device preview #38910
Conversation
Size Change: +4 B (0%) Total Size: 1.15 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.
Giving tentative approval to this one. I managed to test this in Safari 13.1 using Browserstack, and not only does it look like the original issue (see #33817 for more info) isn't easily reproducible, but in fact that some other issues are fixed in Safari 13 by applying this patch.
Before, notice the overlapping metabox after exiting desktop:
https://cldup.com/qOUkNqBuJd.gif
After, notice it's fixed:
https://cldup.com/ZeouSHun1S.gif
That said, this PR reverts an aspect of the PR that was meant to fix the very same issue. Hopefully the answer is that this rule was necessary after all, and the other aspects of 33817 were sufficient.
But it'd nevertheless be good to test this one in both block and classic themes in a variety of circumstances. This would also be a PR to watch and be mindful of in upcoming releases.
Thanks for your work here!
Removing the backport label in here as it is already a part of the gutenberg/packages/edit-post/src/components/visual-editor/index.js Lines 126 to 128 in 2c2970e
|
Description
Tries to solve #38062, where meta boxes would be positioned incorrectly, covering the content.
Testing Instructions
and that it is not stuck in the middle of the page, covering content.
Before this can be merged, it should be tested on Safari 13 (macOS 10.15 Catalina). Unless we decide that the current bug is more important to solve.
Screenshots
See the screencast for 5.9 in #38062 (comment) to confirm that the issue can not be reproduced.
Types of changes
Bug fix
Checklist:
*.native.js
files for terms that need renaming or removal).