Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

typeahead: Fix bug where typeahead showed momentarily on shift + tab.

N-Shar-ma9def249af133
diff --git a/static/third/bootstrap-typeahead/typeahead.js b/static/third/bootstrap-typeahead/typeahead.js
index 40b6a3bf46f..a4ab2ec3e78 100644
--- a/static/third/bootstrap-typeahead/typeahead.js
+++ b/static/third/bootstrap-typeahead/typeahead.js
@@ -475,6 +475,11 @@ import {get_string_diff} from "../../js/util";
}
break
+ // to stop typeahead from showing up momentarily
+ // when shift + tabbing to a field with typeahead
+ case 16: // shift
+ break
+
default:
var hideOnEmpty = false
if (e.keyCode === 8 && this.options.helpOnEmptyStrings) { // backspace