From 1af28c49bd57907609744bafc8f09b616ed4cdd3 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Tue, 21 Oct 2025 18:50:50 +0800 Subject: [PATCH] input: Stop propagation on scroll wheel. (#1406) Close #1397 --- crates/ui/src/input/state.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ui/src/input/state.rs b/crates/ui/src/input/state.rs index b0ae778b..2dcd198b 100644 --- a/crates/ui/src/input/state.rs +++ b/crates/ui/src/input/state.rs @@ -1444,6 +1444,8 @@ impl InputState { window: &mut Window, cx: &mut Context, ) { + cx.stop_propagation(); + let line_height = self .last_layout .as_ref()