kenwheeler / slick

the last carousel you'll ever need
kenwheeler.github.io/slick
MIT License
28.37k stars 5.88k forks source link

slick carousel inside accordion is broken when setting the variableWidth to false? #4306

Open graydirt opened 1 month ago

graydirt commented 1 month ago

short description of the bug / issue, provide more detail below.

If you click the Collapsible Group Items 1 the slick inside of it is broken when setting the variableWidth: false. I would like to know if this is possible to fix. But if you set it to variableWidth: true it is working fine.

Here is the bootstrap doc https://bootstrapdocs.com/v3.3.5/docs/javascript/

====================================================================

[ paste your jsfiddle link here ]

Here is the fiddle https://jsfiddle.net/graydirt/nvposxz7

markvantilburg commented 2 weeks ago

this was incorrect

markvantilburg commented 2 weeks ago

According to the documentation:

variableWidth | boolean | Disables automatic slide width calculation

Are you sure you need to set variableWidth to false?