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.

bootstrap_typeahead: Use `fixed` position for typeaheads.

Aman Agrawal806ebdf5add2
diff --git a/web/src/bootstrap_typeahead.ts b/web/src/bootstrap_typeahead.ts
index e3da16d0968..dee623a9f73 100644
--- a/web/src/bootstrap_typeahead.ts
+++ b/web/src/bootstrap_typeahead.ts
@@ -347,6 +347,7 @@ export class Typeahead<ItemType extends string | object> {
theme: "popover-menu",
placement: this.dropup ? "top-start" : "bottom-start",
popperOptions: {
+ strategy: "fixed",
modifiers: [
{
// This will only work if there is enough space on the fallback placement, otherwise