Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Update to allow any textField to move inputToolbar with the keyboard #1144

Closed

Conversation

derekjcarter
Copy link

If you are using a contact picker with JSQMessages, when the contact picker (or any other UITextField) gets first responder, the keyboard animates up an empty frame but leaves the inputToolbar at the bottom. By removing the following code from JSQMessagesViewController, the inputToolbar moves with the keyboard with any first responder.

if (![self.inputToolbar.contentView.textView isFirstResponder] && self.toolbarBottomLayoutGuide.constant == 0.0f) {
    return;
}

@jessesquires
Copy link
Owner

Thanks @derekjcarter ! I commented on #1145.


Notes:
This introduces a regression. See #648 and #649.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants