From 9711fb49dc345a91bba9f2bfc5d4650931459266 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Wed, 7 May 2025 11:02:20 +0200 Subject: [PATCH] Fix zero-sized message editors when context strip is empty (#30079) Release Notes: - Fixed a bug that would cause the message composer in the agent panel to not render when the context strip was empty. Co-authored-by: Ben Brandt Co-authored-by: Nathan Sobo --- crates/agent/src/message_editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/agent/src/message_editor.rs b/crates/agent/src/message_editor.rs index cb096231eb014b93978ed3de6d10d663a856f0ad..061ad6335cc717642278cf8d8714ecda9eb84072 100644 --- a/crates/agent/src/message_editor.rs +++ b/crates/agent/src/message_editor.rs @@ -637,7 +637,7 @@ impl MessageEditor { this.h(vh(0.8, window)).justify_between() }) .child( - div() + v_flex() .min_h_16() .when(is_editor_expanded, |this| this.h_full()) .child({