Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
typeahead: Ignore mouse position once user uses keyboard.
Aman Agrawal48edf4c8b84b
diff --git a/web/src/bootstrap_typeahead.ts b/web/src/bootstrap_typeahead.tsindex 6be42f00d6c..3f408f3445f 100644--- a/web/src/bootstrap_typeahead.ts+++ b/web/src/bootstrap_typeahead.ts@@ -707,6 +707,7 @@ export class Typeahead<ItemType extends string | object> {}keyup(e: JQuery.KeyUpEvent): void {+ this.mouse_moved_since_typeahead = false;// NOTE: Ideally we can ignore meta keyup calls here but// it's better to just trigger the lookup call to update the list in case// it did modify the query. For example, `Command + delete` on Mac