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: iOS back transition with ion-footer

See original GitHub issue

Bug Report

iOS back transition with ion-footer in child page (active page that has the back action) has a styling error in the shadow overlay on the page behind it.

Ionic version:

[x] 5.0.7

Current behavior: iOS transition on from child back to parent page is bugged if child page has an ion-footer element and parent page does not.

Expected behavior: iOS transition works with and without ion-footer element

Steps to reproduce: Create a parent page without a footer that routes to a child page with a footer. On the back navigation on iOS the footer renders a area that has not a proper shadow because the transition expects the parent page also to have a footer

Related code:

<ion-header>
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-back-button></ion-back-button>
    </ion-buttons>
    <ion-title>Language</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content>
  <p>whatever</p>
</ion-content>

<ion-footer>
  <ion-toolbar>
    <div class="ion-padding">
      <ion-button expand="block">Send</ion-button>
    </div>
  </ion-toolbar>
</ion-footer>

Other information:

Screenshot 2020-04-17 at 09 04 28

Ionic info:

Ionic:

   Ionic CLI                     : 6.1.0
   Ionic Framework               : @ionic/angular 5.0.7
   @angular-devkit/build-angular : 0.801.3
   @angular-devkit/schematics    : 8.1.3
   @angular/cli                  : 8.1.3
   @ionic/angular-toolkit        : 2.1.2

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : ios 5.1.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 7 other plugins)

Utility:

   cordova-res (update available: 0.12.1) : 0.9.0
   native-run (update available: 1.0.0)   : 0.2.9

System:

   Android SDK Tools : 26.1.1
   ios-deploy        : 1.9.4
   ios-sim           : 8.0.2
   NodeJS            : v12.11.1
   npm               : 6.13.7
   OS                : macOS Mojave
   Xcode             : Xcode 11.3.1 Build version 11C504

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Spinnenzungecommented, Apr 22, 2020

Sounds reasonable, I am happy with the footer transition fix then 😃

1reaction
liamdebeasicommented, Apr 21, 2020

Thanks for the issue. Can you try the following dev build and let me know if it resolves the issue:

npm i @ionic/angular@5.1.0-dev.202004211934.57b2a6b

Read more comments on GitHub >

github_iconTop Results From Across the Web

bug: iOS back transition with ion-footer · Issue #21066 - GitHub
iOS transition on from child back to parent page is bugged if child page has an ion-footer element and parent page does not....
Read more >
Nav animations for ion-footer-bar and ion-header-bar - ionic-v3
With this approach, I run into the unintended side effect that there are no animations on the footer or header bar. Using this.nav.push...
Read more >
[Help] Get rid of Ugly transitions with Ionic? : r/ionic - Reddit
To me it looks like a problem with something like a wizard animation that is not hiding the content when navigating. Haven't seen...
Read more >
Footer visible during navigate from Page2 to Page1
ion -footer button doesn't disappear properly when navigating from page1 to page2 and then navigate back from page2 to page1.
Read more >
Announcing Ionic 6 - Ionic Blog
Some of the notable design changes to the iOS mode include a new ... also added a new collapse option to both ion-header...
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