We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4868364 commit 531cebdCopy full SHA for 531cebd
src/components/WheelPicker/index.tsx
@@ -351,7 +351,7 @@ const WheelPicker = ({
351
decelerationRate={Constants.isAndroid ? 0.98 : 'normal'}
352
renderItem={renderItem}
353
getItemLayout={getItemLayout}
354
- initialScrollIndex={currentIndex}
+ initialScrollIndex={Constants.isIOS ? currentIndex : undefined}
355
onContentSizeChange={updateFlatListWidth}
356
/* This fixes an issue with RTL when centering flatlist content using alignSelf */
357
centerContent={align === 'center' && Constants.isRTL}
0 commit comments