Sass: getting rid of white background while rotating


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

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


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

body {
  background: $background-color;