henninghall / react-native-date-picker

React Native Date Picker is datetime picker for Android and iOS. It includes date, time and datetime picker modes. The datepicker is customizable and is supporting different languages. It's written with native code to achieve the best possible look, feel and performance.
MIT License
2.25k stars 346 forks source link

The date is not visible in landscape iOS #844

Open Aleksandern opened 3 months ago

Aleksandern commented 3 months ago

Describe the bug The date is not visible in landscape iOS (iPad)

Screenshot 2024-08-01 at 12 07 55

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):

SeanDunford commented 1 month ago

i believe this is just an issue with ipad not sur if landscape matters.

SeanDunford commented 1 month ago

@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"