react-native-month-year-picker icon indicating copy to clipboard operation
react-native-month-year-picker copied to clipboard

[IOS] Picker width does not update after orientation change

Open illusorytapirus opened this issue 2 years ago • 2 comments

MonthPicker.ios.js

const { width } = Dimensions.get('screen');

const styles = StyleSheet.create({
  container: {
    width,
    position: 'absolute',
    zIndex: 500,
    bottom: 0,
  },
  pickerContainer: {
    height: 244,
    width,
  },
  picker: { flex: 1 },
});

When the orientation updated to landscape, the width remains unchanged. The picker width is less than the screen width.

illusorytapirus avatar Nov 04 '21 06:11 illusorytapirus

Hello @illusorytapirus ! Did you manager to fix the issue somehow?

tasaquino avatar Jul 20 '22 11:07 tasaquino