Open jasonmcaffee opened 2 years ago
Do you use the WheelPicker within a ScrollView or component that uses a ScrollView internally?
Do you use the WheelPicker within a ScrollView or component that uses a ScrollView internally?
Hi, i have same issue i want to use WheelPicker in ScrollView but not work, how can i fix it?
I'm having the same issue. @jasonmcaffee did you find a solution? @erksch are you saying it should NOT be inside a scroll view? For me it's not inside a scrollview but no touches work.
No, sorry, ended up just using a dropdown
@tsheaff The picker does not work within a ScrollView. Can you share a reproducer for your specific problem?
@jasonmcaffee @emami7495 @tsheaff it's work for on android
import React from 'react'
import { View, Text } from 'react-native'
import WheelPicker from 'react-native-wheely'; // v0.6.0
const App = () => {
return (
<View style={{ flex: 1 }}>
<ScrollView>
<WheelPicker
flatListProps={{ nestedScrollEnabled: true }} // add line
/>
<Text>Something here</Text>
</ScrollView>
</View>
)
}
export default App
No solution for this? Just showing list and scroll is freezed
Actually by some reason scrolling didn't work within a react-native Modal component
Actually by some reason scrolling didn't work within a react-native Modal component
Okay, I found the problem - its a Pressable component. When WheelPicker is inside of it, it's not responsive. Maybe some props may change it, but not sure about it
Inside react-native-bottomsheet scroll won't work as well
scroll doesn't work inside modal :(
Inside react-native-bottomsheet scroll won't work as well
Same issue, is there any solution?
I have Same issue, no props about this issue in d.ts...
set enableContentPanningGesture to false
When using the code provided in the readme, nothing happens when I attempt to scroll.
The list renders as expected, but nothing happens on press