Disable Scrolling on Click (compatible with all devices)
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.