mmazzarolo / react-native-modal-datetime-picker

A React-Native datetime-picker for Android and iOS
MIT License
2.94k stars 392 forks source link

Time picker not visible on iOS #725

Open FievezRomain opened 7 months ago

FievezRomain commented 7 months ago

Environment

Platforms

iOS

Versions

Description

I have a button that changes the visibility state of the modal to true. When clicked on Android, the picker is visible but not on iOS. There is no error message. Thanks for your help

Reproducible Demo

AndersonRR commented 7 months ago

Try adding the themeVariant="light" property

pperron commented 5 months ago

I had the same problem and my mistake was that I upgraded "react-native-modal-datetime-picker" to latest version (V17.1.0) but I forgot to update "@react-native-community/datetimepicker" (was at V3.5.2 and upgraded it to V7.6.2).

After upgrading the "@react-native-community/datetimepicker", my picker was working correctly on IOS (testing with my iPhone 15 Pro).