Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't scroll page up/down with Owl Carousel 2

I can't scroll page on mobile while start draggin on carousel. So if carousel take all visible space on mobile - it's become little bit tricky to go up/down to page...

How I can disable this kinda "interception" of scrolling?

like image 897
eGenius Avatar asked Jan 04 '23 23:01

eGenius


1 Answers

Add this CSS to your CSS/SASS file and this should work, it worked for me.

.owl-carousel .owl-stage, .owl-carousel.owl-drag .owl-item {
-ms-touch-action: auto;
    touch-action: auto;

}

like image 51
Amit Avatar answered Jan 29 '23 00:01

Amit