Closed calvinsomething closed 2 years ago
Hey @calvinsomething
the problem is that your images/slides are not present when the slider is initialized. It has to be updated afterwards. You could also create a component that implements the slider so that the slider is rendered only when the images are loaded. I have created an example that uses a plugin to update the slider. See here: https://codesandbox.io/s/awesome-feistel-o3g9n?file=/src/App.tsx
Thank you!
I am just starting to look at this library, and I was having a lot of problems. So I just went back and started by copying and pasting the whole "Thumbnails" example from here: https://codesandbox.io/s/github/rcbyr/keen-slider-sandboxes/tree/v6/navigation-controls/thumbnails/react-typescript?file=/src/App.tsx
I made some minor adjustments to test it out. Here is my code:
Here is the issue:
Why are all the images showing at once? When I resize the window the problem is corrected. But that is the first view when loading the page...
Thank you.