-
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 legacy widget form positioning in customizer #43297
Conversation
Size Change: +66 B (0%) Total Size: 1.24 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.
bae1a86
to
ec5eda2
Compare
I reduced it down a bit. The sidebar is wider for me with scrollbars always active which makes it difficult to find a balance. |
What?
Fixes issues with the legacy widget form popover in the customizer as mentioned in this comment - #42971 (review).
Why?
Since the refactor of the Popover component this has been a buggy. Users are unable to access the full form if it takes up more than the height of the browser window.
How?
__unstableShift
prop to ensure the popover remains in the viewportoffset
prop to move the popover to the right moreposition
forplacement
.Testing Instructions
Screenshots or screencast
Before
Kapture.2022-08-17.at.13.14.26.mp4
After
Kapture.2022-08-17.at.13.09.59.mp4