WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
267421
iOS 17: Back / forward navigation doesn't properly restore scroll position if app banner is present
https://bugs.webkit.org/show_bug.cgi?id=267421
Summary
iOS 17: Back / forward navigation doesn't properly restore scroll position if...
Mads Erik Forberg
Reported
2024-01-11 10:27:48 PST
Steps to reproduce: 1. Install app related to www.vg.no:
https://apps.apple.com/us/app/vg/id381071021
2. After app is installed, go to
https://www.vg.no/?ios-bug=true
(query parameter is there to avoid JavaScript workaround) 3. Click a link with
https://www.vg.no
origin (to get the app banner) on the front page. 4. Swipe back to the front page and the scroll will not be restored. Screen recording of the issue:
https://drive.google.com/file/d/17c5NL52DZ4El60k3TiCZL6pyNqK8_vxm/view?usp=sharing
Tested on: iOS 17.3 beta (21D5044a) - iPhone 14 Pro
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-01-11 10:30:56 PST
<
rdar://problem/120853821
>
Mads Erik Forberg
Comment 2
2024-01-11 10:40:36 PST
I log out `window.scrollY` + `window.history.scrollRestoration` to the JS console on the when using the `?ios-bug=true` param:
https://i.imgur.com/N5qlccp.png
Mads Erik Forberg
Comment 3
2024-01-12 00:51:35 PST
A theory is that it happens if the next page has app-banner but the first page doesn't.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug