react-native-month-year-picker
react-native-month-year-picker copied to clipboard
[IOS] Picker width does not update after orientation change
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.
Hello @illusorytapirus ! Did you manager to fix the issue somehow?