Bug 231878
| Summary: | REGRESSION (iOS 15): Safari toolbar shows & hides when scrolling within a scrollable element | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alex Fox <alexfoxy> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | bfulgham, marcel.webkit, michal, simon.fraser, smoley, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | iPhone / iPad | ||
| OS: | Other | ||
Alex Fox
On iOS 15 scrolling within an element causes the window to resize / toolbar to disappear. On iOS 14 this would only happen when the body scrolled.
Video of bug: https://www.youtube.com/watch?v=F7cwYdw1rnc
Also see difference in behaviour in iOS14/15:
iOS 15: https://i.stack.imgur.com/ctXmi.gif
iOS 14: https://i.stack.imgur.com/9QcC2.gif
I have tried various fixes e.g. overscroll-behavior to no avail.
Will this be fixed in the future?
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/84352772>
Smoley
Thanks for filing, I can reproduce this the latest iOS 15.1 beta using the test page at https://u7toi.csb.app. This does not reproduce for me on iOS 14. Ccing the relevant engineers. This may be a MobileSafari issue rather than a WebKit bug.
Alex Fox
Thanks. Do you have a sense on if this will get fixed or if it is working as intended?
marcel laverdet
Since iOS is implementing non-standard behavior here, as a developer, I would love to see a non-standard vendor prefix CSS property to opt in or out. We're currently running into the opposite behavior where the address bar never minimizes since the bulk of our content is in a scrollable div.
Michal Sienkiewicz
I'm having the same issues. When iOS 15 released first, any pop-up dialogs did not resize at all, revealing the content of underlying page. I managed to fix it as described in this article: https://pqina.nl/blog/how-to-prevent-scrolling-the-page-on-ios-safari/.
Still, dialog resizing is very clucky, as you can see on the bug video from @Alex Fox. Any other resources that could help with that?
Brent Fulgham
The Safari team confirmed this was an intentional behavior change.