Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

owl-carousel Unable to preventDefault

i searched for solution but couldn't find.

owl-carousel keep logs

unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080

i'm using owl-carousel 2.2.0 which is https://github.com/OwlCarousel2/OwlCarousel2

like image 497
Kakajann Avatar asked Feb 25 '17 11:02

Kakajann


People also ask

How do you make an owl carousel responsive?

Setting of the responsive is very simple. Structure of responsive option: responsive : { // breakpoint from 0 up 0 : { option1 : value, option2 : value, ... }, // breakpoint from 480 up 480 : { option1 : value, option2 : value, ... }, // breakpoint from 768 up 768 : { option1 : value, option2 : value, ... } }


1 Answers

Solution - In owl.carousel.css add:

.owl-carousel 
{
    touch-action: manipulation; 
}
like image 182
Fabio Sodre Avatar answered Sep 21 '22 15:09

Fabio Sodre