-
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
Cover block: Remove setting of default position when toggling parallax #42445
Conversation
Size Change: -33 B (0%) Total Size: 1.25 MB
ℹ️ View Unchanged
|
@matiasbenedetto it would be good to get your thoughts on this. Some of the deprecation tests are failing, but will fix those up once we decide if this way of fixing it is the best way to fix this. |
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.
Hi @glendaviesnz 👋 Thanks for jumping on to this!
I think we would need only to change the CSS to fix this issue. Removing the focal point as in this PR reintroduces a bug fixed in #40554 related to the default position of the focal point.
In this video, you will be able to see the bug. When you select an image and after that, you select the repeated image option, you will sell the sidebar focal point selector in the middle of the image but meanwhile, the editor is showing the image aligned top left. If you click the focal point selector in the center, as I do in the video, the image is centered in the editor too. That's why added the default focal point.
cover1.mp4
Thanks for the extra testing @matiasbenedetto, I knew I was probably missing some context from the original fix 😄 , I will close this in favour of #42470, and will give that a test next week. |
What?
Removes the setting of a default focal point that was added in #40554
Why?
To fix a change in the zooming of fixed images that this introduced. Fixes: #42407
How?
Removes default position setting and adds additional CSS to return positioning of parallax images to pre 13.4 release
Testing Instructions
Screenshots or screencast
Before:
parallax-before.mp4
After:
parallax-after.mp4