Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
typeahead: Maybe stop advance for keypress always.
evykassirer572844f257f8
diff --git a/web/third/bootstrap-typeahead/typeahead.js b/web/third/bootstrap-typeahead/typeahead.jsindex 417544828e2..7440c99a9b8 100644--- a/web/third/bootstrap-typeahead/typeahead.js+++ b/web/third/bootstrap-typeahead/typeahead.js@@ -503,9 +503,12 @@ import {get_string_diff} from "../../src/util";}, keypress: function (e) {- if (this.suppressKeyPressRepeat) return- this.move(e)+ if (!this.suppressKeyPressRepeat) {+ this.move(e);+ return;}+ this.maybeStopAdvance(e);+ }, keyup: function (e) {const pseudo_keycode = get_pseudo_keycode(e);