BotDanny / react-stacked-center-carousel

A responsive, performant, well animated, swipeable, center mode carousel that stacks its slide
33 stars 12 forks source link

Can not swipe to new slide which has distance is larger than 3 from old slide when list slide is larger than 6 elements #6

Closed sondt1610 closed 2 years ago

sondt1610 commented 2 years ago
BotDanny commented 2 years ago

Thanks for reporting the bug! I was very busy with school and internship so sorry for the delay. It is now fixed and I updated the code section on the demo page so that you can copy and paste that into a new file and start exploring immediately.

sondt1610 commented 2 years ago

@BotDanny I see this bug is not fixed yet. Please take a look at my example in the codesandbox

BotDanny commented 2 years ago

@sondt1610 You need to update react-stacked-center-carousel to the latest version, namely 1.0.7 as of now.

sondt1610 commented 2 years ago

@BotDanny That bug fixed but has new bug: When list data has ten items, then swipe to ninth item or tenth item => error. You can see detail at this codesandbox: https://codesandbox.io/s/stacked-center-carousel-latest-7qrkig?file=/src/App.js image

BotDanny commented 2 years ago

Sorry for that, I have fixed it now. It will probably be a good idea to add some tests but I'm too busy to do that in the foreseeable future.

BotDanny commented 2 years ago

Please update to the latest version of 1.0.8

sondt1610 commented 2 years ago

@BotDanny Great, this bug fixed. Thank you for your support. I will test for you. If there are any bugs I will contact you