bug: iOS back transition with ion-footer
See original GitHub issueBug 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:
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:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sounds reasonable, I am happy with the footer transition fix then 😃
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