Skip to content

bug: angular, swipe back while page transitioning causes back navigation to break #15154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sandy9git opened this issue Aug 13, 2018 · 6 comments · Fixed by #23125
Closed

bug: angular, swipe back while page transitioning causes back navigation to break #15154

sandy9git opened this issue Aug 13, 2018 · 6 comments · Fixed by #23125
Labels
package: angular @ionic/angular package package: core @ionic/core package type: bug a confirmed bug report

Comments

@sandy9git
Copy link

Bug Report

Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.

Ionic:

   ionic (Ionic CLI)          : 4.0.5 (/usr/local/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.2
   @angular-devkit/core       : 0.7.3
   @angular-devkit/schematics : 0.7.3
   @angular/cli               : 6.1.3
   @ionic/ng-toolkit          : 1.0.6
   @ionic/schematics-angular  : 1.0.4

System:

   NodeJS : v8.11.3 (/usr/local/bin/node)
   npm    : 6.3.0
   OS     : macOS High Sierra

Describe the Bug
Navigating quickly few times between parent and child route causes the app to hang

Steps to Reproduce
Steps to reproduce the behavior:

  1. Get the code from https://github.com/sandy9git/ionic-4-routes
  2. Run the app
  3. Navigate quickly few times by clicking on a event in the list and then back button on the next page
  4. App stops responding

Related Code
https://github.com/sandy9git/ionic-4-routes
You can also check the blog and comments https://medium.com/@sandipmann/routing-in-ionic-4-84cb052cbe51

Expected Behavior
App shouldn't hang

Additional Context

@ionitron-bot ionitron-bot bot added the triage label Aug 13, 2018
@paulstelzer paulstelzer added needs: investigation package: core @ionic/core package package: angular @ionic/angular package and removed triage labels Dec 3, 2018
@liamdebeasi liamdebeasi added type: bug a confirmed bug report and removed needs: investigation labels Mar 25, 2019
@karvannan-thi
Copy link

Yeah, the same problem. In PWA when navigation back, the page will freeze until click somewhere

@talismandev
Copy link

Hello, guys ! I think, I have similar problem.
It happened only in ios system, when I sometimes started to navigate quickly, the app became frozen and not respond.

What would you recommend (what tool to use) to catch it and deal with it ?

@pipoa
Copy link

pipoa commented Jul 16, 2019

I got It happened only in ios system too,
My case is swipe back parent> enter child view > swipe back .. > enter ... hangs
after hangs, back button is no longer response

@liamdebeasi liamdebeasi changed the title App Hangs when switching between Parent Child Route bug: angular, swipe back while page transitioning causes back navigation to break Mar 29, 2021
@capc0
Copy link
Contributor

capc0 commented Mar 30, 2021

just to add up: it does not only break back navigation, but also tab navigation.

@liamdebeasi
Copy link
Contributor

Thanks for the issue. This has been resolved via #23125, and a fix will be available in an upcoming release of Ionic Framework.

@ionitron-bot
Copy link

ionitron-bot bot commented May 1, 2021

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators May 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: angular @ionic/angular package package: core @ionic/core package type: bug a confirmed bug report
Projects
None yet
7 participants