mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
return press fixed
This commit is contained in:
@ -89,11 +89,9 @@ export class EditableTextBase extends common.EditableTextBase {
|
||||
actionId === android.view.inputmethod.EditorInfo.IME_ACTION_GO ||
|
||||
actionId === android.view.inputmethod.EditorInfo.IME_ACTION_SEARCH ||
|
||||
actionId === android.view.inputmethod.EditorInfo.IME_ACTION_SEND ||
|
||||
actionId === android.view.inputmethod.EditorInfo.IME_ACTION_NEXT) {
|
||||
actionId === android.view.inputmethod.EditorInfo.IME_ACTION_NEXT ||
|
||||
(event && event.getKeyCode() === android.view.KeyEvent.KEYCODE_ENTER)) {
|
||||
owner.dismissSoftInput();
|
||||
}
|
||||
|
||||
if (event && event.getKeyCode() === android.view.KeyEvent.KEYCODE_ENTER) {
|
||||
owner._onReturnPress();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user