From 090f7c0c23151a070692d9b25d723f1fabfd207a Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Mon, 23 Nov 2026 07:43:54 -0500 Subject: [PATCH] fw sync: CommentComposer::fixed_rows keeps the card one size The composer's field grows with its text, but the card is measured before the text wraps, so a card near the bottom of the window was placed shorter than it laid out and clipped Post. fixed_rows (off by default) keeps the field at its three rows and scrolls the rest, so the card's buttons stay inside it. Trial: note_popup::a_composer_with_fixed_rows_keeps_post_inside_its_card_near_the_bottom. --- crates/review/src/ui/thread/popover.rs | 15 +++++++++++++-- crates/review/tests/it/note_popup.rs | 22 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/crates/review/src/ui/thread/popover.rs b/crates/review/src/ui/thread/popover.rs index f268030b4..4b809717c 100644 --- a/crates/review/src/ui/thread/popover.rs +++ b/crates/review/src/ui/thread/popover.rs @@ -246,12 +246,13 @@ pub struct CommentComposer<'a> { hint: Option