Fix scrolling performance with CSS will-change property

Avatar of Chris Coyier
Chris Coyier on

DigitalOcean provides cloud products for every stage of your journey. Get started with $200 in free credit!

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 →