body-scroll-lock-upgrade
![](https://img.jsdelivr.com/github.com/rick-liruixin.png)
esm
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)
Version 1.1.0 License MIT
Keywords
body scrollbody scroll lockbody scroll lock upgradereact scroll lockreact scrollscrolllockfreezetoggledisableoverflowmodallightboxreactvanilla-js
INSTALL