I am having a dynamic array of component to render in swiper, however, when adding the new component to the array, it does not shown correctly in the swiper, which function should I call to force update the swiper
Hi @thientran1707 , please add this to params rebuildOnUpdate : true and it should work fine
@kidjp85: Can swiper also just update when new slides were added? Otherwise other components fail to access the contents.
@kidjp85 Hello I import component using react-loadable, These Components will be child of Swiper. If direction: "horizontal" Swiper works well .
But set direction to vertical It can not works well
top and bottom have very large gap. How can I resolve it?
Most helpful comment
Hi @thientran1707 , please add this to params
rebuildOnUpdate : trueand it should work fine