Skip to content

Commit 9fec02c

Browse files
author
mancj
committed
bug fix: onEditorAction called twice
1 parent 5d9918f commit 9fec02c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/mancj/materialsearchbar/MaterialSearchBar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
448448
if (suggestionsVisible)
449449
animateLastRequests(getListHeight(false), 0);
450450
adapter.addSuggestion(searchEdit.getText().toString());
451-
return false;
451+
return true;
452452
}
453453

454454
/**

0 commit comments

Comments
 (0)