The date is not visible in landscape iOS
Describe the bug The date is not visible in landscape iOS (iPad)
Expected behavior The date should be visible and selecteble.
To Reproduce
export default class App extends Component {
state = { date: new Date() }
render = () =>
<DatePicker
open
mode="time"
date={new Date()}
locale="en"
is24hourSource="locale"
/>
/>
}
Smartphone (please complete the following information):
- OS: iOS 17.5.1 (iPad)
- React Native version 0.74.3
- react-native-date-picker version 5.0.4
i believe this is just an issue with ipad not sur if landscape matters.
@Aleksandern just want to say i resolved this by adding theme="dark" bc i had a black background. Your screenshot seems to show you have a white background so maybe try theme="light"
DatePicker responds/works correctly, if you have dark mode set on your phone, you need to adjust the behavior of your application, DatePicker correctly takes over this setting