n8tb1t/use-scroll-position

useScrollPosition does not work

Opened this issue · 0 comments

hi. i am developing a react app and I need to listen on scroll position changes and do specific things. i am using this library as it says in documentation. but it is not working and I don't get log statement in console. i read another issue about this problem and even my import statement is correct.
you can see my code here.

Capture
2

can you help me with this?