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.

compose: Fix bug where compose box was sometimes not scrollable.

N-Shar-maaf76d80856ba
diff --git a/web/src/resize.ts b/web/src/resize.ts
index 95e6574d3e5..774909d586e 100644
--- a/web/src/resize.ts
+++ b/web/src/resize.ts
@@ -123,6 +123,7 @@ export function reset_compose_message_max_height(bottom_whitespace_height?: numb
bottom_whitespace_height - compose_non_textarea_height - 10,
);
$("#scroll-to-bottom-button-container").css("bottom", compose_height);
+ compose_ui.autosize_textarea($("#compose-textarea"));
}
export function resize_bottom_whitespace(): void {