vue3-carousel icon indicating copy to clipboard operation
vue3-carousel copied to clipboard

When using router.push to go to a different route (where there is a carousel component) everything about the carousel is broken

Open LucianHij opened this issue 4 years ago • 6 comments

Describe the bug Carousel is totally broken when using vue-router to navigate to a route that has vue-carousel used.

To Reproduce Steps to reproduce the behavior:

  1. Create 2 "pages"
  2. Navigate using vue-router from the first page to the second one
  3. The second page should have the vue-carousel component implemented
  4. Observe that the carousel is not working at all when changing routes

Expected behavior The carousel to work

LucianHij avatar Dec 06 '21 09:12 LucianHij

This issue is similar to #134. Would also like to know !

lacorde avatar Jan 24 '22 16:01 lacorde

Still does not work

LucianHij avatar Feb 09 '22 11:02 LucianHij

So, it works only on first mount. But if you are navigating by switching the pages again, the second time the carousel is dead. Also, the carousel is dead if you use v-show on it.

LucianHij avatar Feb 09 '22 21:02 LucianHij

I'm having the same behavior, when I navigate between pages, slider doesn't update properly (in nuxt3)

deStrO avatar Feb 14 '22 09:02 deStrO

I have the same behavior as @deStrO (also nuxt3)

lacorde avatar Mar 25 '22 08:03 lacorde

Can also confirm this bug / behavior (Nuxt3)

jakobbusk avatar May 05 '22 21:05 jakobbusk

the issue is still there, any news about the fix maybe ?

denisasJersovas avatar Nov 15 '22 11:11 denisasJersovas

Here is a working example with [email protected]

ismail9k avatar Dec 12 '22 18:12 ismail9k