body-scroll-lock

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 scrollbody scroll lockreact scroll lockreact scrollscrolllockfreezetoggledisableoverflowmodallightboxreactvanilla-jsangularvueiosmobiledesktoptabletbsl

https://github.com/willmcpo/body-scroll-lock#readme