Splidejs / splide

Splide is a lightweight, flexible and accessible slider/carousel written in TypeScript. No dependencies, no Lighthouse errors.
https://splidejs.com
MIT License
4.93k stars 427 forks source link

Adaptive Height option missing #1344

Open xgrid-ayoubkhan558 opened 1 day ago

xgrid-ayoubkhan558 commented 1 day ago

Checks

Version

4.1.3

Description

Need adaptive height like this owl carousel https://owlcarousel2.github.io/OwlCarousel2/demos/autoheight.html

Reproduction Link

https://owlcarousel2.github.io/OwlCarousel2/demos/autoheight.html

Steps to Reproduce

Check the link above, splidejs auto height and owl carousel auto height are different. I need owl carousel like adaptive height option.

Expected Behaviour

auto height means adaptive height. auto height should work as adaptive height.

xgrid-ayoubkhan558 commented 23 hours ago

I have found some workarounds but they are not perfect solutions.

https://codepen.io/Muhammad-Ayoub-the-solid/pen/OPLyWOV https://codepen.io/Muhammad-Ayoub-the-solid/pen/JoPYEzx?editors=1010 https://codepen.io/Muhammad-Ayoub-the-solid/pen/qEWOrOz?editors=1010