Closed stephengladney closed 3 months ago
Solved: I'm an idiot who should've read the documentation. Use the imperative API.
@stephengladney The imperative API works on Android but the documentation mentions that the component API is functional but this bug makes it broken. Its a bit cumbersome to have to write separate code for both platform.
Bug report
datetimepicker version: 8.0.1 Android version: 13.0
Summary
When running the app on Android, on any screen that uses the component, the picker is automatically opened when the screen loads. When closing it, it immediately reopens again.
Is there a setting or prop that needs to be passed to prevent this?
Reproducible sample code
Steps to reproduce
Screenshot
Describe what you expected to happen:
Environment info
expo version: 51.0.22