[Webkit-unassigned] [Bug 237675] New: Incorrect innerHeight IOS 15 Tabs "Single Tab" setting
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 9 14:12:44 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=237675
Bug ID: 237675
Summary: Incorrect innerHeight IOS 15 Tabs "Single Tab" setting
Product: WebKit
Version: Safari 15
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dbucholtz at twitter.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 454284
--> https://bugs.webkit.org/attachment.cgi?id=454284&action=review
Video of bug on iPhone 13 Pro
The `window.innerHeight` is not always correct in Safari 15 when the Safari setting for Tabs is set to `Single Tab`
Here is a very simple isolated example to demonstrate the issue:
https://ios-safari-scroll-position-bug.glitch.me/
Pre-reqs:
1. Using iOS 15
2. From Settings.app, In the Safari Settings, Set the `Tabs` setting to "Single Tab"
Repo steps:
1. Navigate to a web page that is tall enough to have scrolling enabled.
2. Scroll down enough such that the bottom safari "chrome" collapses
3. Click on a link/button to get to a page that's not tall enough to be scrollable
Expected behavior:
The Safari browser bottom "chrome" will remain collapsed, and `window.innerHeight` will give the correct value
Actual behavior:
The safari browser bottom "chrome" remains collapsed, but the `window.innerHeight` value is less than it should be
Additional notes:
1. You must be on a page long enough to scroll so that the bottom browser chrome collapses
2. The only way to get into this state if you have the nav bar collapsed on a previous scrollable page and then navigate to a page that is not scrollable
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220309/38110589/attachment.htm>
More information about the webkit-unassigned
mailing list