spamming scrollToIndex scroll bug
Hi,
I'm using virtual to create a swiper of many items. I bind an index increment onKeyDown arrows.
Despite a throttle on the key press, when spamming one arrow (or keep pressing) scroll starts shaking and bugging.
I have scroll behavior "smooth", and it does the same with scrollToOffset method and I'm running out of Idea on how to deal with this...
Any help would be much appreciated.
I'm using virtual to create a swiper of many items. I bind an index increment onKeyDown arrows.
Despite a throttle on the key press, when spamming one arrow (or keep pressing) scroll starts shaking and bugging.
I have scroll behavior "smooth", and it does the same with scrollToOffset method and I'm running out of Idea on how to deal with this...
Any help would be much appreciated.