below my links, I need help in solving a problem im totally new to webflow and i started to learn alot from forum and tutorials available, i create a pop up modal which is work good but the website keep scrolling while im scrolling in my pop up modal and when i close the pop up modal i find my self in other place in the website. and help?!!
Ok first, that’s not a bug of anything, that’s just how HTML works with your browser: it scrolls what it can. So it’s not what you want, but it’s normal
So to prevent that, you need Javascript code. The script has to be activated by a click on an element (the element you click on to open the popup). It then uses a trick (overflow:hidden) to prevent the scroll in the body element. And then it needs to be deactivated by another click on another element (the element you click on to close the popup)