We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb0c5c1 commit e52d99cCopy full SHA for e52d99c
src/components/vue-ui-carousel-table.vue
@@ -277,7 +277,13 @@ onMounted(() => {
277
captionHeight.value = caption.value ? caption.value.getBoundingClientRect().height : 0;
278
tableRowHeight.value = tableRow.value ? tableRow.value.getBoundingClientRect().height : 0;
279
scrollIndex.value = 0;
280
- setTrElements();
+ nextTick(() => {
281
+ pauseAnimation();
282
+ lastTimestamp.value = 0;
283
+ init.value = 0;
284
+ setTrElements();
285
+ resumeAnimation();
286
+ });
287
})
288
if(tableContainer.value) {
289
observer.observe(tableContainer.value);
0 commit comments