Skip to content
Snippets Groups Projects
Verified Commit d6c129e9 authored by akwizgran's avatar akwizgran
Browse files

Hide emoji popup when hiding soft keyboard.

parent 271efdd2
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment