-
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 Cover focal point picker. #28350
Conversation
Size Change: +110 B (0%) Total Size: 1.29 MB
ℹ️ View Unchanged
|
Thanks @jasmussen! Flagging for @jffng since this is effectively a revert of #28114. Might be worth adding some e2e coverage for the Focal Point Picker (which has recently seen some other improvements in #28096) in a follow-up PR. |
I removed the overflow as well. It cropped the resize handle. |
The following fix is separate, but would be good to land also: #28361 |
* Fix Cover focal point picker. * Remove overflow.
Cherry-picked to |
In #28114, the explicit
height
property was removed from the cover block.That caused a bug where content inside the cover would overflow the edges, which was fixed in #28287, which kept the height removed, but added an
overflow
property instead.While the overflow fixed the problem with overlapping content, the height was still necessary for the focal point picker to work.
Currently:
After this patch:
I could also remove the overflow rule again, making it a full revert. But the overflow doesn't appear to be causing any issues on its own. Open to suggestions here.
While it's unfortunate we didn't catch the focal point picker issue in the last patch, I don't think fixing that is as urgent as the overflow issue. Still good to get into the next version.