react-native-date-picker icon indicating copy to clipboard operation
react-native-date-picker copied to clipboard

The date is not visible in landscape iOS

Open Aleksandern opened this issue 1 year ago • 2 comments

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

  • OS: iOS 17.5.1 (iPad)
  • React Native version 0.74.3
  • react-native-date-picker version 5.0.4

Aleksandern avatar Aug 01 '24 10:08 Aleksandern

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

SeanDunford avatar Oct 05 '24 21:10 SeanDunford

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

SeanDunford avatar Oct 05 '24 22:10 SeanDunford

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

marsakt avatar Feb 01 '25 18:02 marsakt