2 ms·
I have concluded over the years that scrolljacking is always bad. It’s not possible to do it well, as the browser platform doesn’t provide the primitives needed
by chrismorgan 6y ago
I have concluded over the years that scrolljacking is always bad. It’s not possible to do it well, as the browser platform doesn’t provide the primitives needed to make it work. I have seen I think two implementations that were almost acceptable, but they still failed badly in the end.
This page is made much nicer by disabling JavaScript and removing the nice-scroll class from the root element (they did that part badly too—without JavaScript, you can’t scroll at all until you remove that class).