Sass: getting rid of white background while rotating

#1

I am making good progress with my own dark theme for ionic. One irritating issue is when I rotate the phone, there is a temporary white background that shows up as the view rotates. How do I get rid of this white color?

I already have a body background - but that is different.

I also tried the non SCSS approach of

<preference name="BackgroundColor" value="whatever"/>
  • made no difference to the white on rotation
#2

Okay, so it looks like this plugin solves the problem for iOS. Need to see if its an issue with android.

#3

Setting the body to same color of background also helps a lot:

body {
  background: $background-color;
}