How to make page scroll smooth?


#1

How to make page scroll smooth just like on this page? :thinking:

Thanks :slight_smile:


#2

That page scrolls like any other page in the world scrolls.

What're you referring to specifically?


#3

It does apply a slight easing though by preventing the wheel event default and animating to the new scroll position itself...


#4

Ah okay, i'm on a laptop, so no wheel-scrolling for me atm! Explains it.

I...think the function is coming out of init.js line 44, which is a minified script that plays around with the mouse lineheight and fontsize, but... i'll be honest, the minified, shorthand variable names of the script are doing things my brain cant comprehend fully without spending a few hours trying to decipher the code back into readable form.


#5

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