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

Doesn't work well when we rotate from Landscape to Portrait #332

Closed
gaurangmajithiya opened this issue Nov 11, 2020 · 1 comment
Closed

Comments

@gaurangmajithiya
Copy link

Hi,

We are using this datepicker in React Native app with Expo (SDK 39).

Screenshot_2020-11-11-10-07-13-251_host exp exponent

issue

Steps to reproduce

  • Open DatePicker in landscape mode
  • Keep DatePicker open and rotate device to Portrait mode

You will see the issue similar to shown in above screenshot.

Expected Behaviour

  • When we open DatePicker in landscape mode, it opens nicely with proper landscape format
  • When we rotate device screen while keeping calendar open it should detect current orientation and should convert DatePicket in portrait format.

Here I am attaching sample code. You can run this code using expo start command, it will open a screen of expo in browser and scan QR code from the browser in your device (your device must have Expo App installed).

date-picker-standalone.zip

Thanks,
Gaurang

@vonovak
Copy link
Member

vonovak commented Mar 17, 2021

duplicate of #49

@vonovak vonovak closed this as completed Mar 17, 2021
@react-native-datetimepicker react-native-datetimepicker locked and limited conversation to collaborators Mar 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants