react-native-modal-picker icon indicating copy to clipboard operation
react-native-modal-picker copied to clipboard

Added on close

Open bjacog opened this issue 8 years ago • 0 comments

I have added the ability to pass a function that runs when the modal is hidden. This is usefull for having navigation happen on item select that does not play well with onChange as the navigation is fired before the modal is closed and the reference to the modal could be lost eventhough it is still rendered on the screen. Moving navigation code to onClose solved this problem for me.

bjacog avatar Dec 16 '16 07:12 bjacog