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 Change-Id: I3449aa6898b826bfa03104275c7224329f24ed9a Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io> (cherry picked from commit cc9144b4f39923dfb9ee17f951f93f257aa2d221) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
8dd90fc8aa
commit
16040e51f7
@ -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