Click here to Skip to main content
15,748,615 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
When i try to open a overlay and scroll the overlay, even the background gets scrolled.

What I have tried:

I have tried with touchmove event for disable the background scroll but while tried to scroll the overlay even the background gets scrolled though its action is disabled.

$('body').on('touchmove', function(event) {
$('.category-list').on('touchmove', function(event) {

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900