naver / egjs-flicking

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

Moving a circular Flicking one rotation while an animation is playing on moveType: strict will move it to the wrong Panel #841

Closed malangfox closed 9 months ago

malangfox commented 10 months ago

Description

moveType: strict misbehaves for circular flicking. If you do a full rotation of circular flicking while an animation is playing that moves to the next panel, this error can be reproduced.

Steps to check or reproduce

https://codepen.io/malangfox/pen/wvNXBBo

ezgif com-video-to-gif (2)

AS-IS: Panel 1 -> Panel 3 -> Panel 2 -> Panel 3 TO-BE: Panel 1 -> Panel 3 -> Panel 2 -> Panel 1