Make WordPress Core

Opened 5 years ago

Last modified 6 months ago

#48802 new defect (bug)

Twenty Twenty: Fixed Background Image on Cover template bugs on iPad

Reported by: ianbelanger's profile ianbelanger Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.3
Component: Bundled Theme Keywords: has-screenshots needs-patch needs-testing
Focuses: css Cc:

Description

Originally reported on GitHub by @collet

https://github.com/WordPress/twentytwenty/issues/956

In the Customizer, if the user selects the "Fixed Background Image" option for the Cover template (which is activated by default), the cover image on an iPad (iOS 13) is blown-up.

Attachments (3)

ipad-issue.jpg (203.9 KB) - added by ianbelanger 5 years ago.
Cover template fixed background on iPad
no-issue.jpg (523.7 KB) - added by ianbelanger 5 years ago.
Without issue
Screen Capture on 2022-06-24 at 11-37-31.mp4 (525.1 KB) - added by mrfoxtalbot 2 years ago.
Fixed background option is not working on iOS devices.

Download all attachments as: .zip

Change History (10)

@ianbelanger
5 years ago

Cover template fixed background on iPad

@ianbelanger
5 years ago

Without issue

#1 @ianbelanger
5 years ago

  • Keywords needs-testing added

#2 @ianbelanger
5 years ago

#49285 was marked as a duplicate.

#3 @TungstenE2
5 years ago

please note as mentioned in #49285 this is not only iPad but iOS related.

Last edited 5 years ago by SergeyBiryukov (previous) (diff)

#4 @ianbelanger
5 years ago

  • Focuses css added
  • Keywords needs-patch added; needs-testing removed

Noted, thanks for pointing that out @TungstenE2

#5 @TungstenE2
5 years ago

This fixes the issue, but the image is fixed this way.

@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 1024px) 
and (-webkit-min-device-pixel-ratio: 2) {
  .cover-header.bg-attachment-fixed {
    background-attachment: scroll;
  }
}

I discovered this behavior by accident using the iPad of a friend. As this is a global problem I would like to ask developers to fix this, either by the code above and a note in the theme documentation or a real fix. Seems like other developers managed to fix parallax image scrolling on iOS devices. But to leave this without notifying the users should not be the case.

see link: https://wordpress.org/support/topic/twenty-twenty-cover-template-feature-image-parallax-is-not-working-on-io

thx a lot

#6 @mrfoxtalbot
2 years ago

I can confirm that the "fixed background" option is still not working on iOS devices.

@mrfoxtalbot
2 years ago

Fixed background option is not working on iOS devices.

#7 @karmatosed
6 months ago

  • Keywords needs-testing added
Note: See TracTickets for help on using tickets.