firefox-ios icon indicating copy to clipboard operation
firefox-ios copied to clipboard

Swiping up causes a resize of the webkit instance

Open stromfeldt opened this issue 3 years ago • 6 comments

Steps to reproduce

On some pages swiping up causes certain elements to resize, which when swiping up and down further below on the page causes jerkiness. I first saw this many months ago (can't remember when exactly), and errantly thought it was due to the websites themselves. When I saw this occurring with a new addition to the Ghost platform I eventually discovered that it doesn't occur with Safari or Chrome, while one of Ghost's devs stated that this is:

Absolutely a Firefox iOS issue. As you say all browsers on iOS are just different wrappers for Safari, in this case it looks like the way Firefox is handling it’s address/nav bar popups when scrolling up is causing a resize of the webkit instance which isn’t how that typically works in other browsers.

The attached video below shows the issue occurring on a Guardian article. The issue doesn't occur on all Guardian pages, only some of them. The issue also occurs occasionally on other sites.

Expected behavior

No resizing.

Actual behavior

Definite resizing.

Device & build information

  • Device: iPhone 13 mini, iOS 16.6
  • Build version: 116.0 (33174)
  • First seen version: Many months ago

Notes

Attachments: https://github.com/mozilla-mobile/firefox-ios/assets/27488257/3bb2ce41-62ce-449a-bdd1-7b5a79beca12

┆Issue is synchronized with this Jira Task

stromfeldt avatar Aug 04 '23 23:08 stromfeldt

I found this bug too on:

  • Device iPhone 15 Pro, iOS 17.0.2
  • Build version: 118.2 (34971)

This is just annoying and other browsers like Safari and Chrome handle this smoothly.

tompelsama avatar Oct 12 '23 08:10 tompelsama

This issue has been automatically marked as stale. Has the issue been fixed, or does it still require the community's attention? Please leave any comment to keep this issue opened. It will be closed automatically if no further update occurs in the next 30 days. Thank you for your contributions!

github-actions[bot] avatar Sep 27 '24 00:09 github-actions[bot]

I just tested the Guardian article linked to in the post in which I originally created this issue, and yes, the issue still persists.

  • iPhone 13 Mini, iOS 18.0, Firefox 130.1 (45056)

stromfeldt avatar Sep 27 '24 05:09 stromfeldt

I'm also getting this bug when the bottom address bar hides and shows

  • iPhone 11, iOS 17.6.1, Firefox 142.0.1 (60131)

hgducharme avatar Aug 31 '25 22:08 hgducharme

Seem to be related:

  • #26271
  • #27721

hgducharme avatar Aug 31 '25 22:08 hgducharme

FWIW I'm trying to understand how other iOS browsers handle the UI changes, as reports tend to mention it's FxiOS–only issue, but am only seeing it reproduce in other browsers too https://github.com/mozilla-mobile/firefox-ios/issues/26271#issuecomment-3634427455 ~ viewport debug here: https://github.com/mozilla-mobile/firefox-ios/issues/22607#issuecomment-3657552376 …

While Safari definitely has access to proprietary means beyond just being a WKWebKit consumer as competitors, I'm unable to confirm the report above Chrome iOS does not exhibit the observed content resize, this is the same page in current CriOS beta:

https://github.com/user-attachments/assets/8e1ceeac-97be-473c-8d51-2d3c6a710bc7

I see the same effect e.g. in Edge iOS, Brave iOS or Orion iOS, expecting DDG or Vivaldi be the same. 🤷

janbrasna avatar Dec 22 '25 12:12 janbrasna