Home › Forums › JavaScript › Image Drag on iPad Accelerating › Reply To: Image Drag on iPad Accelerating
May 22, 2014 at 1:07 pm
#170873
bcournoyer
Participant
I figured it out. I was setting swipe start at the beginning of the swipe, but touchmove was being called multiple times always using the same swipe start. So the longer the swipe, the more touchmoves working.
I added startX = curX;
after I changed the css and removed /6 to speed things up. Now follows finger just fine.