hakimel / reveal.js

The HTML Presentation Framework
https://revealjs.com
MIT License
67.91k stars 16.65k forks source link

scroll mode is not changing class `has-dark-background` for reveal element #3674

Open hanickadot opened 2 months ago

hanickadot commented 2 months ago

As I'm scrolling thru slide in scroll mode, class for root reveal element is not changed with scrolling. And it keeps same as after reload ... so if I reload on slide X which is dark it will have has-dark-background, if I move it stays there.

But if I reload on white slide, the class is not there and it's kept as I'm scrolling. I noticed it's changing only on element.