Seeking advice on using the autoHeight feature in Owl Carousel 2, I have set up an example CodePen to demonstrate:
Although the .owl-height
element's height is being updated in the markup as expected, the child elements are affecting the overall height.
I experimented with changing the .owl-stage
to position: absolute;
, but this caused other issues and I prefer not to modify the original plugin files unless necessary, given that it's a built-in feature.
Could there be something obvious I'm overlooking while implementing the autoHeight feature? It seems like the functionality is already integrated in Owl, but I could be missing a crucial step.
Here's a link to the Owl AutoHeight Documentation for reference!
Any assistance is greatly appreciated. Thank you!