From 792bae294931ea061c6a4822df64407dcdf7a612 Mon Sep 17 00:00:00 2001 From: "gcp-cherry-pick-bot[bot]" <98988430+gcp-cherry-pick-bot[bot]@users.noreply.github.com> Date: Wed, 7 May 2025 13:12:59 +0200 Subject: [PATCH] Fix zero-sized message editors when context strip is empty (cherry-pick #30079) (#30085) Cherry-picked 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 Co-authored-by: Antonio Scandurra 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 cb096231eb..061ad6335c 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({