Toptracks doesn't begin from the top
thayannevls opened this issue · 2 comments
thayannevls commented
thayannevls commented
I tried to use this props but something strange it's occurring, 0 begins at the 47 of the rank for some reason.
Maybe the key props it's not assuming the expected value?
thayannevls commented
I used initialSlide: 0
(this is default anyway) but the slider is starting at the -4 as you can see in the PrevArrow Component.
It's not a bug with the Slider component because I made some examples to test and it worked just fine.
Maybe it's something with the map and the index made here:
const slides = tracks.map((track, index) => slide(index, track));