naver / egjs-flicking

🎠 ♻️ Everyday 30 million people experience. It's reliable, flexible and extendable carousel.
https://naver.github.io/egjs-flicking/
MIT License
2.76k stars 128 forks source link

Page Change Issue with Autoplay or Swiper Navigation in Nuxt 3 #872

Open rjacinto30 opened 3 months ago

rjacinto30 commented 3 months ago

Description

An issue occurs in egjs-flicking when using it within a Nuxt 3 application. The issue manifests as unexpected behavior when changing routes within the application, specifically:

Expected Behavior:

Flicking should not crash on route change in Nuxt 3, regardless of Autoplay or swiping state.

Actual Behavior:

The issue exhibits itself in various ways, depending on the scenario:

Reproduction Steps

OR

Expected Result:

Actual Result: Page crashes. Console throws the error: image

Additional Information

nuxt: 3.12.2 @egjs/vue3-flicking: 4.11.3 @egjs/flicking-plugins: 4.7.1 Browser(s) tested: Chrome, Chromium, Edge

urbgimtam commented 3 months ago

Could be related to #785 ?