diff --git a/CHANGELOG.md b/CHANGELOG.md index fee10557..8b8a9fb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,13 @@ The changelog for `MessageKit`. Also see the [releases](https://github.com/Messa ### Fixed +- Fixes an incorrect animation of message cells while dragging to dismiss the keyboard by [@lhr000lhrmega](https://github.com/lhr000lhrmega) + ### Added - Added option to use Photo messages with remote image URL in Example project [#1294](https://github.com/MessageKit/MessageKit/pull/1294) by [@martinpucik](https://github.com/martinpucik) - **Breaking Change** Added new `linkPreview` message type, which display a subclass of `TextMessageCell` with support to present title, teaser and a thumbnail image for a link [#1310](https://github.com/MessageKit/MessageKit/pull/1310) by [@bguidolim](https://github.com/bguidolim) + ### Changed - **Breaking Change** Dropped support for iOS 9 and iOS 10 [#1261](https://github.com/MessageKit/MessageKit/pull/1261) by [@kaspik](https://github.com/kaspik) diff --git a/Sources/Controllers/MessagesViewController+Keyboard.swift b/Sources/Controllers/MessagesViewController+Keyboard.swift index 191fb1bc..4196e8d8 100644 --- a/Sources/Controllers/MessagesViewController+Keyboard.swift +++ b/Sources/Controllers/MessagesViewController+Keyboard.swift @@ -100,7 +100,9 @@ internal extension MessagesViewController { messagesCollectionView.setContentOffset(contentOffset, animated: false) } - messageCollectionViewBottomInset = newBottomInset + UIView.performWithoutAnimation { + messageCollectionViewBottomInset = newBottomInset + } } // MARK: - Inset Computation