Open bhuvnesh93 opened 2 years ago
In Android, When we use WheelPicker on a Modal, on open Modal its not selected automatically given index after react native upgrade 0.65.
<WheelPicker selectedItem={props.selectedIndex} data={props.data} onItemSelected={(index) => props.onSelectedIndex(index)} />
npm - "react-native-wheel-picker-android": "^2.0.6",
Any solution? TIA.
any updates on this?
Try passing initPosition as a property on android
initPosition
<WheelPicker initPosition={Platform.OS === 'android' ? initialIndex : null} ...
In Android, When we use WheelPicker on a Modal, on open Modal its not selected automatically given index after react native upgrade 0.65.
<WheelPicker selectedItem={props.selectedIndex} data={props.data} onItemSelected={(index) => props.onSelectedIndex(index)} />
npm - "react-native-wheel-picker-android": "^2.0.6",
Any solution? TIA.