Repro steps: Using safari or firefox on an iphone or ipad sign as an admin. Scroll down far enough for the admin bar to disapear. scroll up past the top of the page without lifting your finger. You will see the "bounce" effect but white space will stay.

Expected behavior: The page should fall back down to where its supposed to be with no extra white space.

What is happening: When the page measures the offset of the body from the top it also includes the extra offset added by IOS "bounce" effect. That extra offset is then added to padding-top of the body which results in extra white space. The line of code doing this is ".css('padding-top', this.model.get('offsets').top);" in BodyVisualView.js on line 49.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Tyler_Rivard created an issue. See original summary.

vivek.addweb’s picture

Please find the attached patch.

vivek.addweb’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: ios_scrolling_can_add-2718927-2.patch, failed testing.

The last submitted patch, 2: ios_scrolling_can_add-2718927-2.patch, failed testing.

d.olaresko’s picture

There is modified patch attached. This issue appears on ipads also.
The fix is temporary because it should support theme breakpoints

Version: 8.1.0 » 8.1.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Version: 8.1.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Branches prior to 8.8.x are not supported, and Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

nod_’s picture

Version: 8.9.x-dev » 9.1.x-dev
Status: Needs work » Postponed (maintainer needs more info)

Is this still an issue?

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Issue tags: +Bug Smash Initiative

There has been no activity here for 6 years, except for asking for more information about 2 years ago. There has been no reply.

If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue (starting from "Install Drupal core").

Since we need more information to move forward with this issue, I am keeping the status at Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

Thanks!

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

There is no information to confirm that this is still an issue, time to close.

Cheers