My app is scrolling up and down when is clicked/touch
In case is touched/clicked on top of screen is scrolling up
if is touched/clicked on bottom is scrolling down
Here is a gif video of the problem :
https://s13.gifyu.com/images/SCzSj.gif
.scroll-touch { -webkit-overflow-scrolling: none; /* Lets it scroll lazy */ }
.scroll-auto { -webkit-overflow-scrolling: none; /* Stops scrolling immediately */ }
var iOS = ["iPad","iPhone","iPod"].indexOf(navigator.userAgent) > -1;
if(iOS) {
$('body').css({ cursor : 'pointer' });
}
$('#html').on("click",function(e) {
// No need for touch start click will do the trick;
});