pawelgrzybek / siema

Siema - Lightweight and simple carousel in pure JavaScript
https://pawelgrzybek.github.io/siema/
Other
3.49k stars 408 forks source link

Update Siema after dynamically hide/show some slides? #286

Open Overpowered opened 3 years ago

Overpowered commented 3 years ago

First of all, thx for this great plugin. Very lightweight, flexible and it works like charm.

BUT ... there is no way to update the Siema slider after just hiding one or two slides inside this slider by "display: none", right? I tried "resizeHandler();", but it doesnt work, the space of the hidden div is still there and on resize my "display: none" or any classes I dynamically add get killed. Any solution?