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

Added on close #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added on close #29

wants to merge 2 commits into from

Conversation

bjacog
Copy link

@bjacog bjacog commented Dec 16, 2016

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.

Proberts pushed a commit to Proberts/react-native-modal-picker that referenced this pull request Apr 13, 2017
Added changes from d-a-n#32
Added changes from d-a-n#37
Added changes from d-a-n#40
Added Properties (default):
    optionContainerStyle: ({})
    optionNumberOfLines (undefined)
    optionEllipsizeMode (tail)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant