fix android physical keyboard input
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
ed12f73c11
commit
1d4772af18
@ -64,7 +64,7 @@ class InputModel {
|
||||
InputModel(this.parent);
|
||||
|
||||
KeyEventResult handleRawKeyEvent(FocusNode data, RawKeyEvent e) {
|
||||
if (!stateGlobal.grabKeyboard) {
|
||||
if (isDesktop && !stateGlobal.grabKeyboard) {
|
||||
return KeyEventResult.handled;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user