How to listener event scroll body??
soemxui195 opened this issue · 1 comments
soemxui195 commented
Hello. I would love to know is there a way for me to listen to the scroll event in my body tag. I tried it by listening to the event from ref.
exp: ref.current.addEventListener("scroll", func())