Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WheelPicker not working inside a ScrollView #71

Open
prateekchachra opened this issue Oct 7, 2019 · 1 comment
Open

WheelPicker not working inside a ScrollView #71

prateekchachra opened this issue Oct 7, 2019 · 1 comment

Comments

@prateekchachra
Copy link

WheelPicker doesn't work inside a ScrollView component. If I were to put it inside a ScrollView it
doesn't scroll down.

@Prasiddha22
Copy link

Prasiddha22 commented Sep 20, 2022

Sorry for the late reply but one workaround can be:

const [scrollEnabled, setScrollEnabled] = useState(true);

return (
<ScrollView ... scrollEnabled={scrollEnabled} >
<TimePicker
...
onScroll={(val)=>{setScrollEnabled(!val)}}
/>

)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants