scottjehl / Device-Bugs

Just a collection of quirks and issues that occur on browser platforms (particularly those unlikely to update)
864 stars 19 forks source link

iOS 8 Safari - Can't scroll element's content when page is zoomed #56

Open Alonkad opened 9 years ago

Alonkad commented 9 years ago

This issue happens only in iOS 8, It does not reproduce in iOS 7.

The use-case: Scrolling inside an element with scrollable (long) content.

If the page is not zoomed-in - it works as expected.

When you zoom-in the page - it stops working, the page is scrolled instead (as if you reached the end of the scrollable content). The effect is continuous: the higher the zoom - it's less possible to scroll the content.

Test page: here

Open the link in your iOS 8 Safari - see that the list element is scrollable.

Now zoom-in the page and try to scroll the content of the list - the page is scrolled instead of the items inside the list. I've placed the red markers so it will be easy to see that the page is scrolled.

I've tried different CSS rules and even JS to prevent the page from scrolling (that still does make the content of the element scroll).