react hook to conditionally lock body scroll
It is a trap! (for a focus)
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)
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)
Disables scroll outside of `children` node.
Removes body scroll without content _shake_
View docs [here](https://radix-ui.com/primitives/docs/components/scroll-area).
DOM trap for a focus
The final solution for WAI ARIA compatible modal dialogs or full-screen tasks.
🔐Body scroll locking that just works with everything
TypeScript definitions for body-scroll-lock
Infinite scroll component for React. Zero runtime dependencies, IntersectionObserver-based, TypeScript-first. Window scroll, fixed-height, and custom container modes. Pull-to-refresh and inverse (chat) scroll included.
A React Native ScrollView component that resizes when the keyboard appears.
A scroll component for React.js
Prevent scroll on the body when component is mounted.
Infinite scroll component for React in ES6
`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.
Utility to measure view bounds
TypeScript definitions for scroll-lock
A mutex for guarding async workflows
A simple hook to create infinite scroll components
The engine that powers scroll-into-view-if-needed
React Router scroll management forked from https://github.com/ytase/react-router-scroll for Gatsby
React focus lock for all Chakra components