Answer the question
In order to leave comments, you need to log in
AutoWidth setting in owl carousel 2 does not work on iphone - how to fix it?
Hello!
There is an owl carousel 2 with these settings
$(document).ready(function () {
$(".marathon").owlCarousel({
margin:15,
//autoWidth: true,
lazyLoad:true,
pagination: false,
responsiveRefreshRate: 200,
animateOut: "fadeOut",
responsive:{
0:{
items:2,
nav:false
},
541:{
items:3,
nav:true,
autoWidth: true
}
}
});
});
Answer the question
In order to leave comments, you need to log in
In my case, setting styles worked
.owl-stage {
display: -webkit-box;
display: -moz-box;
display: -ms-box;
display: box;
}
iphone, where pictures do not have time to load so that the width works correctly
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question