Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Always stop propagation in div's scroll wheel listener (#9282)
Antonio Scandurrafc9f84446a3e
diff --git a/crates/gpui/src/elements/div.rs b/crates/gpui/src/elements/div.rsindex 1cd9ec567dc..3b65dfb39bd 100644--- a/crates/gpui/src/elements/div.rs+++ b/crates/gpui/src/elements/div.rs@@ -1949,9 +1949,9 @@ impl Interactivity {scroll_offset.y += delta_y;}+ cx.stop_propagation();if *scroll_offset != old_scroll_offset {cx.refresh();- cx.stop_propagation();}}});