diff --git a/crates/ui/src/components/scrollbar.rs b/crates/ui/src/components/scrollbar.rs index 6a64659f24306f01498603768cb2f6deebf5b273..7af55b76b71caf7b49c742365068886b44685124 100644 --- a/crates/ui/src/components/scrollbar.rs +++ b/crates/ui/src/components/scrollbar.rs @@ -339,7 +339,7 @@ impl Element for Scrollbar { move |event: &MouseDownEvent, phase, _, _| { if !phase.bubble() || event.button != MouseButton::Left - || bounds.contains(&event.position) + || !bounds.contains(&event.position) { return; }