Sign in Sign up
npm

@custom-react-hooks/use-lock-body-scroll

`useLockBodyScroll` is a React hook for controlling the scroll behavior of the body element in web applications. It's particularly useful for scenarios like opening modals or overlays where background scroll needs to be disabled.

Activity

Latest release
2y ago
Total releases
8
Cadence
~daily
Last 12 months
0

Reach

Stars

Details

License
MIT
First release
Dec 01, 2023
Releases
Version Released
1.5.1 patch
1.5.0 minor
1.4.19 patch
1.4.18 patch
1.4.16 patch
1.4.15 patch
1.4.14 patch
1.4.12 initial