Hi, The lastest version of MessageKit, I changed the keyboardDismissMode to onDrag, and I changed the messageStyle to my custom style, then when the keyboard dismiss, the cell got an animation that loads from left to right, top to bottom锛宧ow can I fix that?
Can you please provide at least a screen recording showcasing the issue? And if possible, code that would help us reproduce this?
Thanks for your reply, the following is the showcasing, but it doesn't seem obvious, so I also record an slow animation version,


I have a same issue, too

the animation is caused by messageCollectionViewBottomInset
I added this code below in MessagesViewController+Keyboard.swift that fixes the unexpected animation.
UIView.performWithoutAnimation {
messageCollectionViewBottomInset = newBottomInset
}
But this is pretty hacking, no sure whether it's the best solution.
Thanks for the screen recording @xiaoshuaiyu1993 , I'll mark this as a bug.
@lhr000lhrmega Thanks for sharing your solution. Would you like to submit a pull request fixing this? :)
Thanks for the screen recording @xiaoshuaiyu1993 , I'll mark this as a bug.
@lhr000lhrmega Thanks for sharing your solution. Would you like to submit a pull request fixing this? :)
No problem.
Has this issue been updated in master? Thanks
Has this issue been updated in master? Thanks
try this fork
https://github.com/lhr000lhrmega/MessageKit
Thanks to @lhr000lhrmega the fix has been merged into develop, and will be included in the next release.
Thanks to @lhr000lhrmega the fix has been merged into develop, and will be included in the next release.
(^鈻絕)
Release is just about to happen, closing this now! :)