cubiq / iscroll

Smooth scrolling for the web
http://iscrolljs.com
MIT License
12.87k stars 3.8k forks source link

iPhone scroll issue #1133

Open yaelga opened 7 years ago

yaelga commented 7 years ago

Hi, I am trying to alter the behavior of the menu so that it does not close a menu section that is open while opening a sub menu. This was done by removing the data-toggle="dropdown" attribute from the ul tag. Problem is, that now when opening it with iPhone, scrolling down a sub-menu to its end is not possible, as the offset is somehow reset and the screen is automatically scrolled upwards. Any ideas?

derozn commented 7 years ago

Have you tried using myScroll.refresh() ?