I am working with a pop up modal which works fine without the script.
With the script the modal works to lock the background. What happens in the process is that it shifts the background slightly.
My question is how to do I make the background not shift?
(Note without the script it does not shift and looks fine.)
Page example: https://e-commerce-store-3.webflow.io/products/black-ash-2
The button to open the modal is called: “Pre-order” on the page.
Thanks for the help,