Open joethegenius opened 5 years ago
This is a duplicate of #55.
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.
I have a page that does NOT have an element I desire to remain scrollable once the page is scroll locked with iOS . I simply want to lock the page scroll. In order to work around this, I had to place an empty "display:none" element on the page and use it as the target element. Easy work around; however, tripped me up for a while.