gusparis / react-native-month-year-picker

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

Has any event to listen when modal is going to close? #4

Closed Zonfer closed 4 years ago

Zonfer commented 4 years ago

Is there an event that is fired when modal was closed? Clicking on the button Ok, or Cancel from the onChange function it's ok and changes the value. But when you click outside of the modal, and the modal was closed without clicking on button Cancel our Ok, i am no longer able to open the modal and select a new date. Help

Zonfer commented 4 years ago

In Modal from React Native has a event named onRequestClose. Maybe if you find out it works

gusparis commented 4 years ago

Hey! I was actually working on a callback for Android when clicking the overlay, plus a different approach for the iOS picker.

Zonfer commented 4 years ago

And how long do you think it will take to develop this improvement?

gusparis commented 4 years ago

@Zonfer just made a couple of updates to both, Android and iOS. Can you check them?

Zonfer commented 4 years ago

Where? The last release have 20 days old

gusparis commented 4 years ago

npm. forgot to update GH tag versions, and the semantic+circle got fucked up somehow. will check it tomorrow after work.