Fix scrolling performance with CSS will-change property

Avatar of Chris Coyier
Chris Coyier on

UGURUS offers elite coaching and mentorship for agency owners looking to grow. Start with the free Agency Accelerator today.

Chris Ruppel fixes a real-world scrolling problem with will-change.

I thought we were supposed to apply/remove will-change via JavaScript only though? Or is scrolling different because there is always the potential to scroll and no native scrollEnd event?

Direct Link →