You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be a problem if you are using the hooks to set StatusBar color on ionViewWillEnter and restore to app default on ´ionViewWillLeave`. If the pushed view also sets StatusBar color, it will end up with the restored color from the leaving view.
Short description of the problem:
When going via
NavController
fraPageA
toPageB
hooks are called in this order:PageA
ionViewWillEnter
PageB
ionViewWillEnter
PageA
ionViewWillLeave
What behavior are you expecting?
PageA
ionViewWillEnter
PageA
ionViewWillLeave
PageB
ionViewWillEnter
This can be a problem if you are using the hooks to set StatusBar color on
ionViewWillEnter
and restore to app default on ´ionViewWillLeave`. If the pushed view also sets StatusBar color, it will end up with the restored color from the leaving view.Hope I'm making any sense :D
Steps to reproduce:
Console now reads:
Plunker that shows an example of your issue
http://plnkr.co/edit/WcrLYlS5PzoUn9lBsX4d?p=preview
The text was updated successfully, but these errors were encountered: