naver / egjs-flicking

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

Freescroll question #864

Open marko-mlinarevic opened 5 months ago

marko-mlinarevic commented 5 months ago

Description

Carousel is in freescroll mode with bound property. How to change current active panel number if bound is active these are the options and width of panel is for example 1000px(width must be larger than viewport). It seems that if panel is larger than viewport index doesn't update

:options="{ bound: true, moveType: 'freeScroll', align: 'prev', circular: false}"

Here is reproduction of the bug

Link

malangfox commented 4 months ago

Hello @marko-mlinarevic.

It seems that the Anchor points that determine the index of the Panel are not being created correctly when the horizontal length of a Panel is longer than the viewport length with the bound option enabled,

We will leave additional comments when we release a patch that fixes this issue.