WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
317941
<body> with overflow: hidden CSS is still scrollable on iOS sometimes
https://bugs.webkit.org/show_bug.cgi?id=317941
Summary
<body> with overflow: hidden CSS is still scrollable on iOS sometimes
Simon Fraser (smfr)
Reported
2026-06-26 11:00:22 PDT
Following on from
https://bugs.webkit.org/show_bug.cgi?id=240859#c9
, Nick says: I can still reproduce this: 1. Visit google.com/search?q=dogs&udm=2 on an iPhone to open images mode on Safari. Make sure the omnibox is at the bottom. 2. Scroll down on the page to collapse the omnibox. 3. Connect DevTools and apply an inline style of `overflow: hidden` to `<body>` to be 100% sure it's applied before and during the scroll. 4. Click an image and immediately start an upward swipe on the page. This will need to be in ~100–200 ms. Don't release the touch. 5. If successful, scrolling up and down will move the base page. This is visible via the bottom Safari omnibox which expands and collapses as long as the touch is not released. 6. If you noted the original scroll position of the base page, you can also flick up or down quickly to fling the base page, and observe it was scrolled after closing the image viewer. This does seem to be harder to trigger with recent fixes, but it is still possible.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-06-26 11:00:28 PDT
<
rdar://problem/180741949
>
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