The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Image Drag on iPad Accelerating Reply To: Image Drag on iPad Accelerating


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.