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

preventing the button to wait before closing the modal #21

Merged

Conversation

ErwannRobin
Copy link

If autoCloseOnSelectDate was set, there was an unuseful delay before calling the delegate method of the okbutton. But this small delay allowed to tap several time on it.
When tapping twice on the ok button, the delegate was called multiple times and KNSemiModalViewController tried to remove itself mutliple times, which crashed.

hons82 added a commit that referenced this pull request Feb 16, 2015
preventing the button to wait before closing the modal
@hons82 hons82 merged commit b4d9503 into hons82:master Feb 16, 2015
@ErwannRobin ErwannRobin deleted the fix-crash-with-multiple-okbtn-clicks branch August 6, 2015 09:43
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.

2 participants