Closed PrzemyslawKlys closed 3 years ago
To give you an idea of what I am after:
Any ideas on how to get it done?
Ok, so it seems when I modified it a bit with proper flexbox inside slide it does work how I want it, but only after I resize the screen. Here's the code pen: https://codepen.io/MadBoyEvo/pen/gOgqWxK
Initially Kineto is not working correctly, but if I force resize by pressing F12 it works.
After moving to the bottom - it works :-) Sorry for bugging
<script>
Kineto.create("#Carousel-kNUqkOdG", { height: "auto" });
</script>
@PrzemyslawKlys You can also make Kineto recalculate the layout by calling Kineto.reload()
method on page load, too. Same as what could happen inside an initially invisible modal. ref: https://findawayer.github.io/kineto/#FAQ
What would be the best way to wrap Kineto into a flexbox? I would like to be able to add multiple carousels around different parts of HTML and would like it to automatically resize within flexbox.