mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix android search-bar bug (#5046)
* Fix android search-bar bug Searching twice for the same item in the search bar leads to a bug where `submit` event won't be raised. This PR fixes https://github.com/NativeScript/NativeScript/issues/5039 * test: include new test page
This commit is contained in:
@@ -43,6 +43,7 @@ function initializeNativeClasses(): void {
|
||||
}
|
||||
|
||||
this[SEARCHTEXT] = newText;
|
||||
this[QUERY] = undefined;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user