Showing 1-20 of 833,746 packages
a scroll locking hook built for react
Enables body scroll locking (for iOS Mobile and Tablet, Android, desktop Safari/Chrome/Firefox) without breaking scrolling of a target element (eg. modal/lightbox/flyouts/nav-menus)
It is a trap! (for a focus)
A sub-package for @hi-ui/hooks.
🔐Body scroll locking that just works with everything
Enables body scroll locking (for iOS Mobile and Tablet, Android, desktop Safari/Chrome/Firefox) without breaking scrolling of a target element (eg. modal/lightbox/flyouts/nav-menus)
react hook to conditionally lock body scroll
TypeScript definitions for body-scroll-lock
DOM trap for a focus
TypeScript definitions for scroll-lock
The final solution for WAI ARIA compatible modal dialogs or full-screen tasks.
A mutex for guarding async workflows
A Vue.js directive for scroll locking
The engine that powers scroll-into-view-if-needed
Scrollbars, simpler.
Prevent scroll on the body when component is mounted.
Disables scroll outside of `children` node.
Removes body scroll without content _shake_
View docs [here](https://radix-ui.com/primitives/docs/components/scroll-area).
`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.