I initially wanted to track one-finger panning on mobile webkit (iOS / Android). I found Creating a “sticky” fixed position element that works in Safari iOS , and I saw gesturechange. But, as far as I tried, it gesturechangejust seems fired for two-finger movement. Then I found the event touchmove, and it looks like I can use it.
- What is the difference between
touchmoveand gesturechange? - Can I use
touchmoveone-way pan detection?
source
share