Closed NiclO1337 closed 7 months ago
Conclusion: Since using slow transition on height of header, the scrollbar changes size also slowly during the transition. Which means that if scrolling up again will cause the scrollbar to jump up and down over the treshhold of the function causing it to go on and off rapidly. Solution: Force scrollTop to be exactly 0 when scrolling up
Describe the bug The document.body.scrollTop is not working properly, if scrolling down once and up again, it flickers between up and down settings rapidly for a few seconds.
To Reproduce Steps to reproduce the behavior:
Expected behavior Smooth transition