SkygearIO/chat-SDK-iOS

The chat view shifted to the top crash the layout when back from another view controller

carmenlau opened this issue · 5 comments

Steps:
Go to Chat message page
Click to open the keyboard
Navigation controller push to another view
Click Backward button to go back to Chat message page

Video
https://youtu.be/Z8ZaeOfLo9U

@carmenlau Verified with @wallacesky. I cannot reproduce it on sample project.
But I found another minor issue when pushing a new view controller and pop back.
Going to fix it in this issue.

Maybe after we merged your fix, let @wallacesky to update uikit in his project and check again.

Thanks @ben181231

Thanks for your effort. I will report if I have any new findings.

@ben181231 @carmenlau
FYI
I fixed my navigation bar moving up issue by disabling the IQKeyboardManager in my customised SKYChatConversationViewController
IQKeyboardManager should not be applied with SKYKitChatUI otherwise the change of keyboard frame height will lead some wire UI issues

@wallacesky

Maybe it is due to the conflict of JSQMessagesKeyboardController and IQKeyboardManager. This PR will remove some functionality of JSQMessagesKeyboardController. See it can fix the conflict.