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: double tap a tab then go to a global page, back button missing and swipe back broken

See original GitHub issue

Bug Report

Ionic version: [x] 4.11.5

Current behavior: using Angular router.navigate(), double-tap a tab then go to a global page, back button missing and swipe back broken

Expected behavior: back button still appears, and swipe back gesture still working

Steps to reproduce:

1.run it 2.tap twice the tab 3.click the global page button 4.check the back button

Related code:

A sample application via GitHub https://github.com/peterzhang41/ionicDoubleTapTabIssue

Other information: our team has to use NavController instead

Ionic info:

Ionic:

   Ionic CLI                     : 5.4.6 (/home/zehui/.nvm/versions/node/v10.17.0/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.11.5
   @angular-devkit/build-angular : 0.12.4
   @angular-devkit/schematics    : 7.2.4
   @angular/cli                  : 7.2.4
   @ionic/angular-toolkit        : 1.4.1

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.1.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 4 other plugins)

Utility:

   cordova-res : not installed
   native-run  : 0.2.9 

System:

   Android SDK Tools : 26.1.1 (/home/zehui/Library/Android/Sdk)
   NodeJS            : v10.17.0 (/home/zehui/.nvm/versions/node/v10.17.0/bin/node)
   npm               : 6.13.0
   OS                : Linux 4.15

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
liamdebeasicommented, Apr 27, 2020

This fix will not be ported to Ionic 4. Ionic 4 is only receiving critical security fixes moving forward.

1reaction
wilk-polarnycommented, Apr 10, 2020

I guess this has something to do with the routing - together with componentless routes and redirects and/or the way navigation happens when tapping an already open tab with its root component being displayed. Lazy loaded routes and componentless modules seem to play a role here (with components being destroyed even though they shouldn’t - breaking navigation) - I am able to work around this by moving some child routes into the tab routing module. I’m currently investigating and trying to nail this down a bit more.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix Back Button Not Working on iPhone and Android
Fixing the Back Button in Android · Restart the Device · Check for a System Update · Wiping the System Cache Partition ·...
Read more >
Why Android's gesture navigation fails (and how to fix it)
The idea with the back gesture is that it lacks the up action, so the user is no longer taken into the global...
Read more >
A Comprehensive List of Issues Introduced in 12 and ... - Reddit
The main issue is upon swiping down to read your notifications, when every different notification has the same plain white colour for its...
Read more >
Google Pixel Android 12 bugs, problems, & issues tracker ...
Here are all the Google Pixel Android 12 update bugs, problems, & issues that've been reported, fixed, or acknowledged (workarounds inside).
Read more >
Safari Technology Preview Release Notes - Apple Developer
Note: Shared Tab Groups and syncing for Tab Groups, Website Settings, ... Net Request rules not loading after an extension was turned off...
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