Lock/unlock body scrolling when modal is opened
A React hook to lock body scroll
react hook to conditionally 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.
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 lock body scroll
React hook to lock body scroll
🔐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)
TypeScript definitions for body-scroll-lock
Reliably lock body scroll.
Disables scroll outside of `children` node.
Removes body scroll without content _shake_
It is a trap! (for a focus)
A Vue.js directive for scroll locking
Prevent scroll on the body when component is mounted.
TypeScript definitions for scroll-lock
The final solution for WAI ARIA compatible modal dialogs or full-screen tasks.
::: code-group
No description provided.
@fastkit/body-scroll-lock
No description provided.
A scroll lock tool for Vue 3
DOM trap for a focus