I have a website with a menu. Sometimes the menu content is overflowing it's container and i need it to to be scrollable. It works fine on a pc. Yet on an iphone what happens is that when i try to scroll the menu, it scrolls the whole body instead. As a result, the entire view is being dragged down/up reveling a grey area at the top/bottom of the screen. This happens mostly in portrait mode, for some reason. In landscape, if i go easy on the swiping, i am able to scroll the menu content alone while the rest of the body stays put.
Can anyone help with that?
Thank you!!
<html>
<style>
#menu {
overflow: scroll;
}
</style>
<body>
<div id="menu">
--content--
</div>
<div id="mainPage">
--content--
</div>
</body>
</html>