gusparis / react-native-month-year-picker

React Native Month Picker component for iOS & Android
MIT License
105 stars 72 forks source link

UI break in iOS #148

Open taha200 opened 4 months ago

taha200 commented 4 months ago

This issue is occurring in the Iphone 12, it is breaking the UI. image00001

vipulrawat commented 2 months ago

Workaround is to render it inside a transparent modal

      <Modal
        transparent
        onDismiss={() => setShow(false)}
        onRequestClose={() => setShow(false)}
        visible={show}>
        <Picker
          onChange={onValueChange}
          value={date}
          minimumDate={new Date()}
          maximumDate={new Date(2025, 5)}
          locale="en"
        />
      </Modal>