Android: Close the keyboard after clicking Done
The keyboard was not hiding after clicking the done button. This commit changes this behavior. If KeyCode is other than IME_ACTION_PREVIOUS/IME_ACTION_NEXT the keyboard closes automatically. Fixes: QTBUG-107662 Pick-to: 6.2 6.4 Change-Id: I3449aa6898b826bfa03104275c7224329f24ed9a Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
This commit is contained in:
parent
e5d591a0d0
commit
cc9144b4f3
@ -253,6 +253,7 @@ public class QtInputConnection extends BaseInputConnection
|
||||
return super.sendKeyEvent(fakeEvent);
|
||||
|
||||
default:
|
||||
QtNative.activityDelegate().hideSoftwareKeyboard();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user