gusparis / react-native-month-year-picker

React Native Month Picker component for iOS & Android
MIT License
106 stars 74 forks source link

Date picker persists during a device screen timeout or device lock #31

Closed jackie-eb closed 3 years ago

jackie-eb commented 4 years ago

Date picker persists during a device screen timeout or device lock. When the device is unlocked, the date picker is displayed regardless of the app state before screen lock

gusparis commented 3 years ago

@jackie-eb Thank you for using the library! This is the expected behavior. The library is not managing app states. Check https://github.com/react-native-community/datetimepicker, also persisting when coming back from background. Nevertheless, the library had a bug on Android that will open the dialog always. That was fixed in #29.

Edit: I will close this because is not an issue.

sizhe-eb commented 3 years ago

@jackie-eb Thank you for using the library! This is the expected behavior. The library is not managing app states. Check https://github.com/react-native-community/datetimepicker, also persisting when coming back from background. Nevertheless, the library had a bug on Android that will open the dialog always. That was fixed in #29.

Edit: I will close this because is not an issue.

Works properly! Thx~