You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 23, 2020. It is now read-only.
overflow: hidden does not work on iOS devices at the element level.
Solutions:
Assign overflow: hidden to the html and body class as well. Issues: if you overflow: hidden on the body and html element; the moment you trigger those properties/rules, the browser scrolls to the ‘top’.
Using jQuery (unbind - touchmove) - currently in use Issues: you can unbind the touch move on the element, but child element can scroll elements behind themselves
The Problem:
overflow: hiddendoes not work on iOS devices at theelementlevel.Solutions:
Assign
overflow: hiddento thehtmlandbodyclass as well.Issues: if you
overflow: hiddenon thebodyandhtmlelement; the moment you trigger those properties/rules, the browser scrolls to the ‘top’.Using jQuery (unbind - touchmove) - currently in use
Issues: you can unbind the touch move on the element, but child element can scroll elements behind themselves