#Whiteflash when changing view with SvelteKit + Tauri on MacOS
7 messages · Page 1 of 1 (latest)
Can you add an inline style that sets the background colour to black on the body? (no css, just raw styles)
in 2.1 there's also a window.backgroundColor config now that may help.
honestly that just seems like a bandaid on the real issue...
what's the real issue then? do you perhaps have a minimal reproduction for us? I've tested sveltekit tauri apps in the past and can't remember seeing white flashes (after initial app load)
It will be from before the CSS has compiled would be my guess
Its more than on MacOS when changing route theres a flash, on windows it doesnt do it. If needed Ill send over the repo, but I wanted to know if anyone else had that issue...