4 ms·
You can detect if the interaction started from the side of the screen. From there, you can do something different when the history is manipulated.
by mikewhy 5y ago
You can detect if the interaction started from the side of the screen. From there, you can do something different when the history is manipulated.
- warning26 5y agoThat wouldn't work, since Safari completely intercepts the touch event if it's a back gesture. Pressing the back button in the browser is indistinguishable in code from the back swipe gesture.