react-native-wheel-picker
react-native-wheel-picker copied to clipboard
WheelPicker not working inside a ScrollView
WheelPicker doesn't work inside a ScrollView component. If I were to put it inside a ScrollView it doesn't scroll down.
Sorry for the late reply but one workaround can be:
const [scrollEnabled, setScrollEnabled] = useState(true);
return ( <ScrollView ... scrollEnabled={scrollEnabled} > <TimePicker ... onScroll={(val)=>{setScrollEnabled(!val)}} /> </ScrollView> )