0

I normally simulate elements on a scroll event with something like this:

$(window).on(is_touch_device ? 'touchmove' : 'scroll', function(event) {
    //do stuff
});

The problem is on iOS where touchmove only gets triggered when my finger is actually touching the iPad and not when it's scrolling "on it's own".

I'm sure there's a simple solution on this.

jQuery is used for better explanation here so the solution can be without jQuery too.

Xaver
  • 11,144
  • 13
  • 56
  • 91

0 Answers0