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: Remove delay when opening / closing typeahead.

Aman Agrawal23408558517d
diff --git a/web/src/bootstrap_typeahead.ts b/web/src/bootstrap_typeahead.ts
index 0551725169b..201cd20bbd9 100644
--- a/web/src/bootstrap_typeahead.ts
+++ b/web/src/bootstrap_typeahead.ts
@@ -344,6 +344,7 @@ export class Typeahead<ItemType extends string | object> {
// Lets typeahead take the width needed to fit the content
// and wraps it if it overflows the visible container.
maxWidth: "none",
+ delay: [0, 0],
theme: "popover-menu",
placement: this.dropup ? "top-start" : "bottom-start",
popperOptions: {