Test device: IOS 13.0 Beta 4 (17A5547d) on iPad Pro 10.5-inch (MPMF2NF/A).
Adding the overflow:hidden property to the body of a page blocks scrolling in any PDF file opened from that page.
Minimal reproduction scenario:
Given the following html page:
<a href='/test.pdf'>Open me</a>
When clicking on "Open me" opens the PDF file but the user can't scroll in it. It remains stuck at the top of the document.
Expected behavior: The PDF file is scroll-able as works on desktop.
- (void)_setHasCustomContentView:loadedMIMEType: needs to reset the scrollability bit
Created attachment 375564 [details]
Comment on attachment 375564 [details]
Clearing flags on attachment: 375564
Committed r248281: <https://trac.webkit.org/changeset/248281>
All reviewed patches have been landed. Closing bug.