4 ms·
What should it do instead when you pull from the left side of the screen?
by hackmiester 5y ago
What should it do instead when you pull from the left side of the screen?
- warning26 5y agoTheir behavior is fine, but the problem is that there's no way to detect it. If it was possible to check if the user had used the swipe gesture, then it would be possible to use that to control whether or not to display the custom animation, preventing a double-animation scenario.
- mikewhy 5y agoYou 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.