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

Only inject inputAccessoryView if textView isEditable. #67

Merged
merged 2 commits into from
May 26, 2014
Merged

Conversation

plu
Copy link
Contributor

@plu plu commented May 10, 2014

There's a bug in UIKit that would fire a UIKeyboard(Will|Did)ShowNotification when a UITextView is readonly (textView.editable = NO;) but has a inputAccessoryView. See also: http://openradar.appspot.com/radar?id=5306932189462528

To work around this issue, DAKeyboardControl should only inject a inputAccessoryView if the UITextView actually isEditable.

@plu plu changed the title Only inject inputAccessoryView if textView is editable. Only inject inputAccessoryView if textView isEditable. May 10, 2014
danielamitay added a commit that referenced this pull request May 26, 2014
Only inject inputAccessoryView if textView isEditable.
@danielamitay danielamitay merged commit 9d63457 into danielamitay:master May 26, 2014
@plu
Copy link
Contributor Author

plu commented May 27, 2014

Thanks 👍

@danielamitay
Copy link
Owner

No, thank you!

@jeffdav
Copy link
Contributor

jeffdav commented Jul 31, 2014

Thanks to both of you; this solves an issue I have with UITextViews in a UICollectionView and HPGrowingTextView. Will you be updating the podspec soon, or I shall I just point mine at master for the time being?

@danielamitay
Copy link
Owner

I will update the podspec over the weekend 👍

@jeffdav
Copy link
Contributor

jeffdav commented Jul 31, 2014

Thanks.

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.

3 participants