window-scroll-position icon indicating copy to clipboard operation
window-scroll-position copied to clipboard

React hook for Window scroll position

Results 16 window-scroll-position issues
Sort by recently updated
recently updated
newest added
trafficstars

The PR #5 introduced a `handleScroll.cancel()` but there is no property `cancel` on the handler function. So, on component unmount, an error is thrown and thus the `removeEventListener` is never...

Bumps [safer-eval](https://github.com/commenthol/safer-eval) from 1.2.3 to 1.3.5. Commits - [`6d5ed4b`](https://github.com/commenthol/safer-eval/commit/6d5ed4b90d676a10776b818dee84014dcd41e632) 1.3.5 - [`fbbc623`](https://github.com/commenthol/safer-eval/commit/fbbc623b7a6f6b9176dfed3f1c3d12ccc848f7b8) Merge pull request [#7](https://github-redirect.dependabot.com/commenthol/safer-eval/issues/7) from commenthol/strict-mode-recommendation - [`1a87237`](https://github.com/commenthol/safer-eval/commit/1a8723704b30ac43c3c300223c6132e27b48fc21) fix: use strict mode recommendation - [`b81dab9`](https://github.com/commenthol/safer-eval/commit/b81dab9c7ef88345e5e9a4490426ac171a489add) 1.3.4 - [`073267a`](https://github.com/commenthol/safer-eval/commit/073267ac30e67d3e5c1762c5d0373444ead61660)...

dependencies

I was reading the hook source code and I was wondering if it really needs to specify `{passive: true}`. The `scroll` event should be passive by default since it cannot...

Building for production environment: ``` ERROR in ....js from UglifyJs Unexpected token: punc ({) [./node_modules/@rehooks/window-scroll-position/index.js:2,0] ```

Tried to use this with next.js, which has SSR out-of-the-box. I am getting the `window is not defined` error. Consider running code that uses window from useEffect hooks, so they...

Great util guys! Im super excited about hooks! I was working on something with a scroll listener and I came across MDN example. [MDN scroll event throttling](https://developer.mozilla.org/en-US/docs/Web/Events/scroll#Example) hook Implementation: https://codepen.io/bmgaynor/pen/aXWzEa...