mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-28 14:24:12 +00:00
Android: Always hide cursor/selection handle when the keyboard hides
Fixes #5233
This commit is contained in:
parent
704cfff41f
commit
a1e7f85892
1 changed files with 1 additions and 0 deletions
|
@ -409,6 +409,7 @@ public class SlintAndroidJavaHelper {
|
|||
public void run() {
|
||||
InputMethodManager imm = (InputMethodManager) mActivity.getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||
imm.hideSoftInputFromWindow(mInputView.getWindowToken(), 0);
|
||||
mInputView.setCursorPos(0, 0, 0, 0, 0, 0);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue