finally got around to reading up on that annoying background scroll issue when you're using div-based modals. it's such a headache since the browser just hands the scroll over to the body once you hit the end of the modal content. apparently the native
Webflow element has a single checkbox now to lock it, which is great if you aren't stuck with old interaction builds. i've been using
finsweet attributes to handle it lately but it's good to know there's a built-in way for new stuff. still seems like ios safari is going to be a nightmare for anything that isn't the native element since it ignores overflow: hidden on the body. wondering if anyone's actually found a way to make it work reliably on older iPhones without heavy custom code.
found this here:
https://www.webflow.com/blog/prevent-page-scroll-webflow-modal