I’ve started having this problem recently, but cannot pin point what change triggered it.
First I enter a “subview” by doing so:
this.navCtrl.push(MyPage, {data:data});
After taping the default back button at the top left of the view, I come back to the original view but it has a black background (was originally white). I have the same problem after opening a ThemeableBrowser.
This issue doesn’t happen when transitioning from tabs to tabs (and most of the times changing tabs will remove the black background).
I have these (over the top) CSS rules in place:
[nav-view-transition="ios"][nav-view-direction="forward"], [nav-view-transition="ios"][nav-view-direction="back"] {
background-color: transparent !important;
}
html, body, ion-app, ion-nav, ion-nav-view, .scroll-content, .app-content, .fixed-content{
background-color: white !important;
}
I tried adding these entries in my config.xml
<preference name="SplashScreenBackgroundColor" value="0xFFFFFFFF" />
<preference name="BackgroundColor" value="0xFFFFFFFF" />
And even tried changing the background in my MainViewController.m (for iOS), but all of them with no luck…
Would anyone know how to fix this, or could point me to a place (in the source of Ionic for example) where I could find the origin of the issue?
Thanks in advance!