javascript - Owl Carousel jquery plugin autoHeight: true has no effect -


i attempting use autoheight feature in owl carousel 2 - have created example codepen of here:

example

when view markup through inspector tools, can see .owl-height elements height indeed being updated, child elements effecting overall height.

i tried updating .owl-stage position: absolute; - had other problematic effects, , i'm trying not alter original plugin files @ if possible... since it's built in feature.

is there obvious i'm missing in using autoheight feature? plugin appears included owl, missing something.

owl autoheight documentation in case helps!

thanks help!

you seem missing of css navigation.

turning navigation off fixes issue (demo):

$('.owl-carousel').owlcarousel({     nav: false,     items: 1,     margin: 20,     dots: true,     autoheight: true }); 

alternatively, check have included owl-theme.scss file github. (or style of course.)


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -