diff --git a/JSQMessagesViewController/Controllers/JSQMessagesKeyboardController.m b/JSQMessagesViewController/Controllers/JSQMessagesKeyboardController.m index f3f662a6c..c8db67131 100644 --- a/JSQMessagesViewController/Controllers/JSQMessagesKeyboardController.m +++ b/JSQMessagesViewController/Controllers/JSQMessagesKeyboardController.m @@ -284,14 +284,8 @@ - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(N if (CGRectEqualToRect(newKeyboardFrame, oldKeyboardFrame) || CGRectIsNull(newKeyboardFrame)) { return; } - - // we should convert CGRect keyboardEndFrameConverted = [self.contextView convertRect:newKeyboardFrame fromView:nil]; - - // do not convert frame to contextView coordinates here - // KVO is triggered during panning (see below) - // panning occurs in contextView coordinates already [self jsq_notifyKeyboardFrameNotificationForFrame:keyboardEndFrameConverted]; } }