We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d935b8 commit f5a073aCopy full SHA for f5a073a
index.js
@@ -39,6 +39,7 @@ function useWindowScrollPosition(options) {
39
)
40
41
return () => {
42
+ handleScroll.cancel()
43
window.removeEventListener('scroll', handleScroll)
44
}
45
}, [])
0 commit comments