question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: Swipe back doesn't work on iOS

See original GitHub issue

Prerequisites

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:closed
  • Created a year ago
  • Comments:17 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ollydixoncommented, Aug 19, 2022

@Steven0351 Ah yes it was the simulator, thank you so much for your help!

1reaction
Steven0351commented, Aug 19, 2022

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found