Discussion on: Using Smart CSS to Time Your Wonderful Newsletter Popup

link2twenty profile image
Andrew Bone

I see, my apologies πŸ™‚

Generally, I try to avoid listening on scroll because it can cause jank when scrolling (especially on mobile).

That being said, "premature optimization is the root of all evil" πŸ˜…


Thread Thread
rikschennink profile image
Rik Schennink Author

It’s something to surely take into account, that said, the previous article outlines some of the performance improvements applied in the code.