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.

composebox: Fix overlapping placeholder in recipient box for topic="".

Prakhar Pratyush8d8c68fc2836
diff --git a/web/src/compose_recipient.ts b/web/src/compose_recipient.ts
index 3b0e85c4b79..95f72660ac9 100644
--- a/web/src/compose_recipient.ts
+++ b/web/src/compose_recipient.ts
@@ -396,7 +396,8 @@ export function update_topic_displayed_text(
$input.attr("placeholder", util.get_final_topic_display_name(""));
$input.addClass("empty-topic-display");
} else {
- $topic_not_mandatory_placeholder.show(10, update_placeholder_visibility);
+ $topic_not_mandatory_placeholder.show();
+ update_placeholder_visibility();
$input.on("input", update_placeholder_visibility);
}