-
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
Cover Block: Fixed background problem in iPadOS 13.x Safari #17718
Comments
As a potential fix, the best alternative property to test with (-webkit-touch-callout on developer.mozilla.org) So this is working for me: .wp-block-cover.has-parallax, .wp-block-cover-image.has-parallax {
@supports (-webkit-touch-callout: inherit) {
background-attachment: scroll;
}
} |
Tilføjet Vestegnen og byerne nord for København. Burde fikse det her WordPress/gutenberg#17718
Burde fixe den her?? WordPress/gutenberg#17718
This is still an issue and lately, we have had a few reports on WordPress.com too. |
@zdenys I have now moved on from the project where I encountered that issue, but I believe my alternative CSS property test check is working fine. |
Just saw this on a 5.5.1 site too that was previously okay. The snippet didn't work for me though. Still bugged on iOS Safari (latest) |
Happening for me too, WP 5.5.1, GeneratePress theme. iPad OS 14.01. Any new fixes? |
I learned that (mobile) Safari has difficulties with parallax backgrounds so I disabled that as a workaround. |
@jeroenrotty disabled parallax for all users, or selectively on iPad somehow? If you have a working bit of CSS (that works on latest versions of WP and iPad OS) could you share it here? Thx. |
Hehe I tried doing it selectively with a @support rule I found online, but that didn't really work for me at the time (didn't have much time for this), so it's disabled for on all devices for now. |
It is possible that #32824 has fixed this issue. If anyone is able to test the latest |
I'm not sure if it's the same issue, but I noticed this might be the same thing: Automattic/wp-calypso#57390 I tested it on my iPad with Safari 15 and macOS Catalina and the zoomed-in images are still showing up. Example: http://rockfielddemo.wordpress.com cc @jasmussen |
Thanks for the ping. So it sounds like the mobile safari bug is back. I don't have bandwidth to look right at the moment, but anyone else should be free to pick this one up. |
I was told that this site when checked on the Ipad (perhaps also iPhone) just showed a blue sky (seems zoomed in) instead of the regular image. https://opsalgard.no/ It uses the Cover block with a fixed image. |
I tried the fix mentioned by @depthoffocus but from what I see it is not working. |
@paaljoachim - I've just tested the fix with If there is another scenario where this fix doesn't work let me know! |
Great! It would be great if others could also test it out. |
iPadOS now defaults to a 'Desktop' view in the browser on (all?) iPad devices, which suffers from the problem with Safari's handling of
background-size: cover
andbackground-attachment: fixed
.According to Apple's Safari 13 release notes, in iPadOS they have:
However, it appears not to be that simple. They have disabled it in the "desktop" mode, but seemingly still provide it it if you request the "mobile" site.
The absence of this webkit-only feature means that the CSS implemented in #11480 that sets
background-attachment: scroll
no longer works in the default iPadOS browser view:To reproduce
(Tested with Gutenberg 6.5.0)
Expected behavior
Ideally the existing mobile Safari behaviour should be preserved, since
background-attachment: fixed
is still not correctly supported.Smartphone (please complete the following information):
(Edited for clarity. Apologies for any dimwittedness -- this is my first ever github issue!)
The text was updated successfully, but these errors were encountered: