React-native-snap-carousel problem (ask for another recommended component)

ask for recommendation first! A swiper component that can display multiple slider in the same interface, as shown in the following figure (even if the width of the swiper I find is smaller, it will only leave more white space, and will not give the white space to other slider)

problem: the order of react-native-snap-carousel components during the first round of slider switching is out of order. Put the code first:
clipboard.png

:
clipboard.png
data : [{title: "CEO..."},{title: "..."},{title:"..."}] slider
clipboard.png

slider dot index 0
clipboard.png

index 2
clipboard.png

print index is 1. The first round of loop is completed, and then the order is normal. Index also prints out 012012 in sequence, but 0 still corresponds to the second data of the data array, and 2 corresponds to the first data, doubting the life of the day. Please call for help

.
May.30,2021

has the landlord found a replaceable component? I also encountered the same problem, and loop is set to true can not achieve unlimited carousel


do you have any results? I also spent a day of suspicion in my life


it should have something to do with the attribute loopClonesPerSide

Menu