Search results
46 packages found
Prevent scroll on the body when component is mounted.
Prevent scroll on the body when component is mounted.
Prevent scroll on the body when component is mounted.
Prevent scroll on the body when component is mounted.
Simple and lightweight scroll lock for react and vanilla js.
Smartly prevents page from being scrolled
Scroll lock mixin for React components
A component that confines scroll events to its immediate child. Great for dropdown menus etc.
Body scroll locking that just works with everything
- body scroll
- body scroll lock
- react scroll lock
- react scroll
- scroll
- lock
- freeze
- toggle
- disable
- overflow
- modal
- lightbox
- react
- vanilla-js
- View more
passes props for locking and unlocking body scroll to React component
React hook to lock body scroll
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)
- body scroll
- body scroll lock
- react scroll lock
- react scroll
- scroll
- lock
- freeze
- toggle
- disable
- overflow
- modal
- lightbox
- react
- vanilla-js
- View more
prevent scroll event pass through the layer,防止滚动穿透
- freeze
- scroll
- react
- body scroll
- body scroll freeze
- react scroll lock
- react scroll
- lock
- toggle
- disable
- overflow
- hidden
- modal
- mobile
--- title: README nav: title: Hooks path: /hook group: title: Scroll Lock path: /scroll-lock order: 1 ---
A JavaScript library to solve the rolling penetration of modal boxes on mobile and PC
Prevent scroll on the body when component is mounted.
Prevent scroll on the body when component is mounted.
custom hooks for web ui action
A react hook for locking scroll on mount or on toggle
Body scroll locking that just works with everything
- body scroll
- body scroll lock
- react scroll lock
- react scroll
- scroll
- lock
- freeze
- toggle
- disable
- overflow
- modal
- lightbox
- react
- vanilla-js
- View more