Fix showing the keyboard in a disabled focus state

This commit is contained in:
SerpentSpirale 2021-08-17 18:42:55 +02:00
parent 536d920c0e
commit a30ad51773

View File

@ -107,7 +107,7 @@ public class TouchCharInput extends androidx.appcompat.widget.AppCompatEditText
}else{
InputMethodManager imm = (InputMethodManager) getContext().getSystemService(INPUT_METHOD_SERVICE);
enable();
postDelayed(() -> imm.showSoftInput(this, InputMethodManager.SHOW_IMPLICIT), 200);
imm.showSoftInput(this, InputMethodManager.SHOW_IMPLICIT);
return true;
}
}