Scrolling seems to be buggy

Im trying to figure out what the deal is with not being able to scroll using the mouse at

I’m pretty sure it’s got something to do with the “Smooth Scroll” javascript.
With js disabled it scrolls OK.
Sorry, not a js expert, but I know one reliable fix: ditch the script.

1 Like

That’s what I thought at first too.

I’m not sure, but I think it might be because the parallax script isn’t throttling the scroll event

Since scroll events can fire at a high rate, the event handler shouldn’t execute computationally expensive operations such as DOM modifications. Instead, it is recommended to throttle the event using requestAnimationFrame, setTimeout or customEvent, as follows:

1 Like

It would certainly point to the JS, if I disable JS the page works just fine. That begs the question why do you need to have “smooth scrolling” when browser already do that?


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.