reggaeboss — 2014-04-23T10:51:45-04:00 — #1
I am using a push-menu on my website for smaller screens, and when the menu is open i prevent vertical scrolling of the site with overflow-y: hidden; and it works perfect on my laptop. However if I open the website on my tablet or phone I can still scroll down with my fingers. Why isn't overflow-y: hidden working on touchdevices? And how can i fix this?
On laptop it works like if the user clicks the hamburger (menu-icon) a class with overflow-y: hidden is added to the body.
paulob — 2014-04-23T12:22:48-04:00 — #2
On the iphone this works:
I believe some android versions don't like overflow-y so you may need to use overflow instead.