Open Francesco-Voto opened 10 months ago
I try to investigate a bit and apparently setting the
animated
option to true inside thescrollToIndex
methods fixes the problem
@Francesco-Voto What do you mean by scrollToIndex
? I cannot find this in the README of the repo or in the code you posted, but I am also facing a similar issue on my Samsung, but not on emulator (likely due to a Samsung software update) and am wondering how to fix it.
the scrollToIndex
is inside the wheel component and it is called when a new selectedIndex
is provided
@Francesco-Voto Hi, try to remove
initialScrollIndex={selectedIndex}
from component.
Hello,
I started to use this library, everything works fine until I need to set a
selectedIndex
.Here the code:
What happens is:
https://github.com/erksch/react-native-wheely/assets/8778613/85106032-01f1-4f41-904d-6c34e2d77b35
It happens for me on both platform.
I try to investigate a bit and apparently setting the
animated
option to true inside thescrollToIndex
methods fixes the problem