<body> overflow, blocking scroll when menu is open and restoring it when closed.Blocking scrolling when a left menu is open on a Webflow page is a common requirement to enhance user experience. Here's how you can achieve it.
<body> overflow property.#menu and a button with id #menu-button opens/closes the menu)document.body.style.overflow = 'hidden';.document.body.style.overflow = '';.
To block scrolling on a Webflow page when a left menu is open, create an interaction to control scrolling, add a custom JavaScript snippet in the page settings, and manipulate the overflow property of the <body> tag.