Prevent Vertical Scrolling while Touch Swiping

Use for devices that support swipe.

Easy CSS Fix:

.your-class-name{
-ms-touch-action: pan-y;
touch-action: pan-y;
}

Its blocking vertical scrolling when you swiping your elements.

You can use with jquery slider plugins.

Tested with ios, android devices.

Written by Uğur

Leave a Reply

Your email address will not be published. Required fields are marked *