Open ekmett opened 1 month ago
In which browser are you experiencing the flickering? Can you provide a video showing the problem? This should not be happening, but I cannot reproduce it on my machine.
The browser is Chrome. I'll see if I can unapply the patch locally and find a way to capture a video.
It is a fairly subtle effect when changing pages, and was mostly visible on \code blocks.
It seems that when you switch page with the lightmode/darkmode toggled. that you get a fraction of a second of fading as the content changes style to ease into the new state. But this means the transitions fire on every page change!
I patched these (and probably way too many other transitions I didn't mean to hit) out by brute force in my local version. Maybe it makes sense to try to toggle these on once the page loads using javascript that way you can ease the transition from lightmode to darkmode when the button is pressed, but not affect page load?
It made a notable difference in how flickery page-to-page navigation was. I may have misidentified part of the root cause, but now I don't see all my text boxes changing brightness on each refresh.