Closed naruto00796 closed 1 year ago
You can hard reset the carousel after displaying the modal
nextTick(() => {
carouselRef.restartCarousel()
});
You can hard reset the carousel after displaying the modal
nextTick(() => { carouselRef.restartCarousel() });
i tried like this, after loading images, unfortunately it didn't work:
this.$nextTick(() => { this.$refs.carousel.restartCarousel(); });
Related #299
ok
This should be in the documentation
I I'm using the core ui putting the carousel inside a modal and inside a nav-tab, but it only works when I inspect the page element, could someone help me?
obs: I only load the images when the modal is opened
Component:
Load photos in method:
this.photosList = await this.ActionFotoCons_veiculoId({'id': this.form.attributes.veiculo_id});