Hi! ๐
First of all, great library โ Neat looks awesome.
There is a small but noticeable issue when using NeatGradient as a full-screen background (especially on dark themes):
The issue is much more visible on dark backgrounds. On light backgrounds it is likely present as well, but visually masked. On page reload, the canvas sometimes flashes white for 1โ2 frames before the gradient appears.
This also happens on the official demo:
https://neat.firecms.co/
And here is how it looks on my website with dark theme (Its gray cuz i have dark half transparent black overlay):
I experimented quite a bit with different loading states:
- rendering a solid fallback background behind the canvas
- adding a โshutterโ layer above the background to mask initial frames
- delaying canvas visibility until after initialization
Unfortunately, none of these fully solved the issue โ the white frame still appears occasionally, which makes it feel like itโs coming from the WebGL canvas itself.
My environment is
- @firecms/neat 0.5.1
- Chrome
Iโll keep experimenting on my side to see if I can find a reliable fix.
Any hints, ideas, or guidance would be very appreciated ๐
Hi! ๐
First of all, great library โ Neat looks awesome.
There is a small but noticeable issue when using NeatGradient as a full-screen background (especially on dark themes):
The issue is much more visible on dark backgrounds. On light backgrounds it is likely present as well, but visually masked. On page reload, the canvas sometimes flashes white for 1โ2 frames before the gradient appears.
This also happens on the official demo:
https://neat.firecms.co/
And here is how it looks on my website with dark theme (Its gray cuz i have dark half transparent black overlay):
I experimented quite a bit with different loading states:
Unfortunately, none of these fully solved the issue โ the white frame still appears occasionally, which makes it feel like itโs coming from the WebGL canvas itself.
My environment is
Iโll keep experimenting on my side to see if I can find a reliable fix.
Any hints, ideas, or guidance would be very appreciated ๐