Is it possible to prevent scrolling page while the nav manu on mobile is open and we scroll the menu? For now when I scroll menu on mobile it blinks and shows page underneath. The best example what I want to achieve is here On that page you can easily scroll menu, and the page below is static. Just great!
Public link: https://preview.webflow.com/preview/cia-poland?preview=c2b6fb1007f258d536f3a46176c13fd7
Please, if you have any ideas…
I already had the same problematic and I found help from @bart who crafted a code for me. The code uses a CSS property that prevents the Body to scroll. It’s when you put overflow:hidden to the body.
So basically it passes the body overflow:hidden when you click on something, and reverse it when you click on something else. It’s maybe going to be an issue for you because of the many things you can click when the menu is open.
Add that script at page level in the second custom code zone.