Closed Alexkin26 closed 3 weeks ago
As expected. Use the theme prop.
theme prop is available when modal prop is set ONLY!
If the text in your DatePicker is not visible in Android's dark mode, you can force it to use the light theme by setting theme='light'
I also ran into this issue and can confirm this can be fixed by setting the property theme="light"
. This contradicts the README, so the documentation is incorrect and out of date.
Thats right, the readme was incorrect, theme prop is supported both inline and in modals nowadays. The readme is now updated.
Describe the bug The Picker is not visible when the Android's theme is set to dark mode.
Expected behavior Picker's background color must be white and Picker's text color must be black
To Reproduce Add example code that reproduces the behavior.
Smartphone (please complete the following information):