Detect scroll direction on React

  1. Thanks for this. Been struggling for a while to find a decent way to implement greater functionality on scroll event listener on something other than the entire document in React 🙂

    • Dima
    • September 14th, 2017

    Thanks, you helped me a lot!

    • Jake
    • February 28th, 2020

    I love you!!

    • Ian
    • January 17th, 2021

    Bless you

  2. I love you! thanks

    • Na
    • October 8th, 2021

    Not working on mobile

    • Akhila Abesinghe
    • December 10th, 2021

    awesome man…. this works like a charm…❤️

    • Dominic
    • April 20th, 2023

    Thanks a lot, you save me

  1. No trackbacks yet.