mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 23:28:52 -04:00
Fix showing the keyboard in a disabled focus state
This commit is contained in:
parent
536d920c0e
commit
a30ad51773
@ -107,7 +107,7 @@ public class TouchCharInput extends androidx.appcompat.widget.AppCompatEditText
|
|||||||
}else{
|
}else{
|
||||||
InputMethodManager imm = (InputMethodManager) getContext().getSystemService(INPUT_METHOD_SERVICE);
|
InputMethodManager imm = (InputMethodManager) getContext().getSystemService(INPUT_METHOD_SERVICE);
|
||||||
enable();
|
enable();
|
||||||
postDelayed(() -> imm.showSoftInput(this, InputMethodManager.SHOW_IMPLICIT), 200);
|
imm.showSoftInput(this, InputMethodManager.SHOW_IMPLICIT);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user