From 50f78b57c8c80949c92a9acfe06c096477e798ee Mon Sep 17 00:00:00 2001 From: Mike Solar Date: Thu, 27 Aug 2026 17:32:48 +0800 Subject: [PATCH] effect stack: scroll vertically when cards overflow the panel --- crates/gpui/src/effect_stack/stack_view.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/gpui/src/effect_stack/stack_view.rs b/crates/gpui/src/effect_stack/stack_view.rs index a79bb704d7..225e9457d9 100644 --- a/crates/gpui/src/effect_stack/stack_view.rs +++ b/crates/gpui/src/effect_stack/stack_view.rs @@ -452,6 +452,9 @@ impl Render for EffectStackView { .flex_col() .w_full() .h_full() + // The card list can outgrow the panel, so scroll vertically + // (header and add button scroll along with the cards). + .overflow_y_scroll() .track_focus(&focus_handle) .on_drag_move::(cx.listener(|this, _event, _window, cx| { // Runs first (capture phase, registration order): clear the