This repository has been archived by the owner on Aug 14, 2019. It is now read-only.
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.
InputToolbar does not animate up when another textField gets first responder #1145
Closed
Description
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;
}
I created a pull request for this here: #1144
-Derek