You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.
However this doesn't work if the chat view is not full screen. The issue seems to be that dragThresholdY is calculated in window coordinates while touch is calculated in the co-ordinates of the contextView as follows:
In
JSQMessagesKeyboardController.m
functionwhich recognizes keyboard drags calculates whether to dismiss the keyboard as follows:
However this doesn't work if the chat view is not full screen. The issue seems to be that
dragThresholdY
is calculated in window coordinates whiletouch
is calculated in the co-ordinates of the contextView as follows:I believe the correct way to do this is:
which fixes the drag point for the keyboard.
The text was updated successfully, but these errors were encountered: