I call the following code:
$(document).scroll(function() {
thedistance();
});
I want thedistance()
to fire while the user is scrolling down the page on a iOS device, but instead of this happening, the function fires after the user has stopped scrolling - not during it.
I have heard that this is caused by the DOM Manipulation freezing while the user scrolls - as of 2016 is there any way around this problem?