I was facing problems with flashing on the Safari/Firefox browsers. By setting the main container height to max-height: 100vh
, I managed to resolve the flickering issue. However, I am also looking for a solution to keep track of the window.scrollY
position. Any suggestions on how to tackle this problem?