Verified Commit d6c129e9 authored by akwizgran's avatar akwizgran
Browse files

Hide emoji popup when hiding soft keyboard.

parent 271efdd2
......@@ -163,6 +163,7 @@ public class TextInputView extends KeyboardAwareLinearLayout {
}
public void hideSoftKeyboard() {
if (emojiPopup.isShowing()) emojiPopup.dismiss();
IBinder token = editText.getWindowToken();
Object o = getContext().getSystemService(INPUT_METHOD_SERVICE);
((InputMethodManager) o).hideSoftInputFromWindow(token, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment