Dynamic Body Noscroll when opening Pop-Up Modal

Hey fellow Webflow community,

just got into this amazing tool and currently playing around to figure out if I’ll use it for my next project. :slight_smile:

I implemented this noscroll-solution . Works like a charm in the example, unfortunately in my implementation - reverting body ‘overflow’ back to ‘auto’, doesn’t work . And I don’t get my head around why that’s the case. Tried a couple different solutions already.

Has anybody encountered the same - maybe in a different context?

This is my preview link: https://preview.webflow.com/preview/orlando-management?utm_medium=preview_link&utm_source=designer&utm_content=orlando-management&preview=7757f4d892631e9cde104acb1da0df9e&pageId=5e7a2e1de0689d8e49e8d568&mode=preview

Any help is highly appreciated!

Best,
Molt