Bug: Swipe back doesn't work on iOS
See original GitHub issuePrerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
- Nightly
Current Behavior
Created a basic Svelte app, going though Ionic. On Safari browser Swipe back works fine. On WebView via default iOS app it works. On Ionic it doesn’t work.
Expected Behavior
Swipe back on iOS should work by default, no matter what is rendering via the platform.
Steps to Reproduce
Make Ionic app. Host HTML app with a link. Observe that swipe back doesn’t work.
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 5.4.16
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v16.15.1
npm : 8.11.0
OS : macOS Monterey
Additional Information
No response
Issue Analytics
- State:
- Created a year ago
- Comments:17 (6 by maintainers)
Top Results From Across the Web
"Swipe to go back" gesture doesn't work properly in WatchOS
This certainly is a bug, which becomes more prominent once you try to go back a few times by swiping in the main...
Read more >Incomplete Swipe-back gesture causes NavigationPath ...
I have the same issue. It only occurs with NavigationStack not with NavigationView. Using NavigationStack without path-variable also has the bug ...
Read more >10 Ways to Fix iPhone Swipe Up Not Working
If the iPhone swipe up has suddenly stopped working, don't panic and follow our guide below to learn some of the solutions to...
Read more >Can't Swipe Home Screen On iPhone In iOS 16? (Fix!)
Next, our readers noticed, that turning off the new Search feature on Home Screen, prevents the swiping bug from triggering: Open Settings -> ......
Read more >How to Fix Can't Swipe Left or Right on the iPhone ... - YouTube
Why can't I swipe on left or right in iPhone iOS 16, iPhone won't swipe left or right in iOS 16, Can't swipe...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Steven0351 Ah yes it was the simulator, thank you so much for your help!
@ollydixon I was able to clone your repo, make the necessary changes, and got backward and forward swiping to work (starts at about 6 seconds in):
https://user-images.githubusercontent.com/24440751/185662611-fd08d5ea-4f1b-4faa-bff0-b5104751cdea.mp4
Not sure if you’re testing on a device or simulator, but the simulator is finicky and your mouse cursor needs to be exactly on the edge that you’re swiping from or just beyond. The backward and forward swiping will not work if you start a swipe on the page itself.