4 ms·
It is especially unfortunate as you can get buttery smooth scroll animations without scrolljacking: schedule the events with requestAnimationFrame, throttle to
by lelandfe 5y ago
It is especially unfortunate as you can get buttery smooth scroll animations without scrolljacking: schedule the events with requestAnimationFrame, throttle to 60FPS, and avoid layout thrashing[0].
[0] https://gist.github.com/paulirish/5d52fb081b3570c81e3a https://gist.github.com/paulirish/5d52fb081b3570c81e3a and https://csstriggers.com/ https://csstriggers.com/