vue-carousel-3d
vue-carousel-3d copied to clipboard
It dose not work when data fetched from server!
My data is also fetched from the server. My issue was that the slides are initially invisible unless I make it rerender somehow (like resizing the browser/revisiting the route). I set the length of my array as key of the component and it works now..
<!-- I'm using a container component -->
<room-carousel :listData="roomList" :key="roomList.length"></room-carousel>
@eanesparrago After adding the attribute key, the problem is solved, which is very strange