Open silvenon opened 3 years ago
An astute observation! Can anybody provide some insight?
Would you accept a PR?
They stopped the repairs. I had to do it myself, in the same way, with a new version of typeScript. And fix these problems for everyone to use.
npm i body-scroll-lock-upgrade
repair log,Refer to the releases page.
Hey! I'm having a little trouble understanding how enabling scrolling is intended to work in this library. I see that elements are being tracked in the
locks
array, but this is only used for scrolling on mobile; in the browser scrolling enables as soon as I callenableBodyScroll
, I would expect scrolling to be enabled once the last "lock" is cleared. 🤔