npm i body-scroll-lock

5 Tutorials

Find additional tutorials on Google
body-scroll-lock examples - CodeSandbox

body-scroll-lock examples - CodeSandbox
Learn how to use body-scroll-lock by viewing and forking body-scroll-lock example apps on CodeSandbox

Body scroll locking that just works with everything 😏 | BestofVue
Why BSL? Enables body scroll locking (for iOS Mobile and Tablet, Android, desktop Safari/Chrome/Firefox) without breaking scrolling of a target elemen

Body scroll lock — making it work with everything
Have a google of how people lock the body scroll and you’ll come across a few solutions to accomplish this. The basic use case is: This approach works for desktop browsers, and mobile Android…