Thank you . I used the npm package of 3.11.5 and while that solved the initial issue, it seems to have caused / uncovered another bug.
When i pause the smoothscrolling instance, and open a overlay modal, it works fine as i scroll inside the modal.
but while keeping the modal open and if i scroll outside of the modal (on the main page behind), you can see the page suddenly jump to the end of the scroll. (i know its the end of the scroll because if i close the modal, i can see the scroll bar at the end of the page and scroll up works as before)
i cant replicate this error on codepen because of what seems like version conflict issues with the other plugins after replacing with your updated version (it already broke the original pen i added in the first post). but i captured a video on my actual code:
1a.mp4