Made in Webflow

Disable Scrolling on Click (compatible with all devices)

site profile thumbnail


There are some times when you need to prevent the user from scrolling when a certain event occurs. An example could be when a modal is opened after clicking a button. Use the code in this project to easily prevent the users from scrolling when clicking any element.
Feeling inspired?If this Made In Webflow site sparked some inspo, why not get started on a project of your own? Clone a site, purchase a template or start building from scratch.

More by Alex Iglesias Piñol

See profile
View details
Advanced Webflow Forms - Multi Steps & Conditional Logic