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
Create an index.html with <style>html, body { background: black; }</style>
Run the app (dev, or dist bundle)
Screen will flash a white background before rendering the content.
Expected behavior
The main window should wait for the content to load, or it should apply the page's background color on open.
Screenshots
default.mp4
Platform and Versions (please complete the following information):
OS: Mac OS, version 11.2.3 X64
Node: 15.13.0
NPM: 7.7.6
Yarn: 1.22.10
Rustc: 1.51.0
Additional context
This is running the app with the default values (no transparent window mode). When using transparent window mode, it doesn't flash, but the window loses all shadows and borders until it is resized.
Describe the bug
Window flashes a white background before rendering app content on macOS Big Sur.
The css for the
index.htmlis:To Reproduce
Steps to reproduce the behavior:
<style>html, body { background: black; }</style>Expected behavior
The main window should wait for the content to load, or it should apply the page's background color on open.
Screenshots
default.mp4
Platform and Versions (please complete the following information):
OS: Mac OS, version 11.2.3 X64
Node: 15.13.0
NPM: 7.7.6
Yarn: 1.22.10
Rustc: 1.51.0
Additional context
This is running the app with the default values (no transparent window mode). When using transparent window mode, it doesn't flash, but the window loses all shadows and borders until it is resized.
transparent.mp4