pandiaraj44 / react-native-datepicker-dialog

This library provides the cross-platform components for to open the date picker dialogs in effective way. It uses the native DatePickerAndroid & DatePickerIOS components. It will work for both ios & android.
MIT License
44 stars 15 forks source link

Correct iOS flash when changing date #6

Closed JulienArzul closed 7 years ago

JulienArzul commented 7 years ago

On iOS, the screen was flashing when changing the selected date.

This was, most likely, caused by the render function that was creating a Modal with a new key each time it was called. The pull-request simply made the Modal's key unique per instance.

Corrects issue https://github.com/pandiaraj44/react-native-datepicker-dialog/issues/4

pandiaraj44 commented 7 years ago

Thanks, @JulienArzul

Thank you for your contribution. It really made the date picker dialog more powerful. I think there are no more big issues with the date picker dialog.