Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IOS] Picker width does not update after orientation change #102

Open
illusorytapirus opened this issue Nov 4, 2021 · 2 comments
Open

Comments

@illusorytapirus
Copy link

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.

@tasaquino
Copy link

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

@ParmarJigarr
Copy link

@illusorytapirus @tasaquino Have you get solution for landscape issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants