Fix scrolling performance with CSS will-change property

Avatar of Chris Coyier
Chris Coyier on

DigitalOcean joining forces with CSS-Tricks! Special welcome offer: get $100 of 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 →