Release Notes: - N/A
Unified · Split
| @@ -964,6 +964,7 @@ impl Interactivity { · 963 unmodified lines | ||
| 964 | 964 | let interactive_bounds = interactive_bounds.clone(); |
| 965 | 965 | cx.on_mouse_event(move |event: &MouseDownEvent, phase, cx| { |
| 966 | 966 | if phase == DispatchPhase::Bubble |
| 967 | + && event.button == MouseButton::Left | |
| 967 | 968 | && interactive_bounds.visibly_contains(&event.position, cx) |
| 968 | 969 | { |
| 969 | 970 | *pending_mouse_down.borrow_mut() = Some(event.clone()); |