RSS FeedTwitterMastodonBlueskyShare IconHeart IconGithub IconArrow IconClock IconGUI Challenges IconHome IconNote IconBlog IconCSS IconJS IconHTML IconShows IconOpen Source Software IconSpeaking IconTools IconShuffle IconNext IconPrevious IconCalendar IconCalendar Edit IconNotebook IconObservable Notebooks IconSlash IconGoogle G Icon
My google avatar.
devrel@google
notejs

Delete your timeout functions and shake off their bugs, here's the event you really need: scrollend.

Read all about it on Chrome Developers and checkout the polyfill I wrote on NPM.

5 mentions #

53likes
15reposts
  • Javier Iglesias García
  • José Lages
  • Dion Almaer
  • Chrome Developers
  • Thomas Broyer
  • Andres Niño
  • Abishaï Yapélé
  • Nikolay Cholakov🙏4❤
  • Philip Jägenstedt
  • Luis Confraria @luis@confraria.me
  • Maxime
  • GENKI
  • Callie 🏳️‍🌈🏳️‍⚧️
  • sean
  • Barney // Bear // Jaysus

Join the conversation on

this took a lot more spec work than I thought it would. glad it's finally out and in y'all's hands 🙂

Adam ArgyleAdam Argyle

@argyleink When I saw the title “Scrollend, a new JavaScript event” in my feed reader, for a moment I assumed that “Scrollend” is the name of an upcoming conference for JavaScript developers, and I almost skipped over the blog post.

Šime VidasŠime Vidas

@simevidas got confs on the brain eh?!

Adam ArgyleAdam Argyle

@argyleink It’s just that I’m subscribed to over 1000 RSS feeds, so I’m very quick to skip over anything that doesn’t immediately grab my attention 😅

Šime VidasŠime Vidas

@argyleink Excited for this and planning to add the polyfill soon. It wasn't clear but is the scroll listener added by the polyfill passive?

Callie 🏳️‍🌈🏳️‍⚧️Callie 🏳️‍🌈🏳️‍⚧️