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.

[4.0.Neutronium] Header from previous page on navigate back

See original GitHub issue

Ionic version:

[x] 4.0 Neutronium

I’m submitting a …

[x] bug report [ ] feature request

Current behavior:

When I return from a page, the header of the previous page appears for some milliseconds and disappears.

Expected behavior:

Do not display the header of the previous page on the current page even if it is for a few milliseconds.

Steps to reproduce:

Related code:

ionic start bug blank
ionic cordova platform add ios
ionic g page example

add <a routerLink="/example">Go to Example</a> to ion-content in home.page.html

add <ion-buttons slot="start"><ion-back-button></ion-back-button></ion-buttons> to ion-toolbar in example.page.html

ionic cordova run ios

Click in Go to Example then, click in back arrow.

ezgif com-video-to-gif

Other information:

Example repository: https://github.com/ludufre/ionic-v4-back-bug

Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.9.0 (/Users/ludufre/.npm-packages/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0
   @angular-devkit/build-angular : 0.12.3
   @angular-devkit/schematics    : 7.2.3
   @angular/cli                  : 7.2.3
   @ionic/angular-toolkit        : 1.2.3

Cordova:

   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.2, (and 4 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/ludufre/Library/Android/sdk)
   ios-deploy        : 1.9.4
   ios-sim           : 7.0.0
   NodeJS            : v10.15.0 (/usr/local/bin/node)
   npm               : 6.7.0
   OS                : macOS Mojave
   Xcode             : Xcode 10.1 Build version 10B61

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
gigocabreracommented, Jan 29, 2019

I’m also having the exact same issue and I created a repo that reproducces this behaviour in Safari and iOS:

https://github.com/gigocabrera/ionic4-toolbar-issue

4reactions
ludufrecommented, Feb 6, 2019

Still not fixed yet in 4.0.1 update.

Read more comments on GitHub >

github_iconTop Results From Across the Web

this.router.navigate Go back to previous page ionic 4 app
1) Select menu option · 2) Gets navigated to selected item from #1 (Page 1) · 3) In page 1, you can go...
Read more >
A footer that directs me back to the previous page (number) on
You can just enter the page number you want to go to and click on "go to" button. There you are. Then you...
Read more >
Adam Bradley, Author at Ionic Blog - Ionic.io
Ionic 2 and 3 saw many improvements due to our internal animation library, which actually continues to power 4.0's page transitions.
Read more >
Adding Page Numbers - Microsoft Word for Dissertations
If you want continuous pagination that is all in the same format, go to the Insert Ribbon, and in the Header & Footer...
Read more >
Corrected Bugs List
When Tim reports bugs fixed (in his web page as "What is new"), I ... Next turn, pod HEADING BACK to its first...
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