News for hackers. Stuff that matters.
Re:MoveTo – A lightweight scroll animation JS library withou... by staktrace on Tuesday March 21, 2017 @08:40AM (#13921615)
Any scrolling on the main thread (i.e. driven by JS) is subject to jank, not just user-input scrolling. CSS-based smooth scrolling of anchor links can be offloaded to the compositor because the browser knows ahead of time what is going to happen, and in those cases the smooth scroll animation can run smoothly even if the main thread is bogged down.

There are no comments on this comment yet.