ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

V2 Beta11 ion-content background-color

Open zywh opened this issue 10 years ago • 2 comments

I just upgraded to nightly(Beta11) and discovered some page show "black" background. It only happen in IOS

Have to add this into CSS.


ion-page.show-page scroll-content {
   background-color: white;
}

zywh avatar Jul 15 '16 15:07 zywh

Hello, thanks for opening an issue with us! I am having trouble reproducing this issue with the latest nightly. Could you share a repo that demonstrates this issue? Thanks for using Ionic!

jgw96 avatar Jul 15 '16 16:07 jgw96

It took me really a while to find the trigger. I played around CSS/HTML. Remove all and leave basic HTML page. It has black background. The trigger is "preload=true".

In beta10, there is bug. With preload=true, tab doesn't switch. It appears nightly(beta 11) fix the issue. this issue merged


<!--<ion-tabs #mcTabs [selectedIndex]="mySelectedIndex" [preloadTabs]="preload">-->
<ion-tabs #mcTabs [selectedIndex]="mySelectedIndex" >

zywh avatar Jul 15 '16 19:07 zywh