From 61477c9a21023ced987f4e744b4f322b5be9c749 Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Wed, 10 Jun 2026 15:27:15 -0400 Subject: [PATCH] Fix not being able to scroll sidebar when the mouse is hovering a header (#59054) Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content adheres to Zed's UI standards ([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) and [icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md) guidelines) - [x] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable Release Notes: - Fixed a bug that prevented scrolling the sidebar when the mouse was positioned over a project header. --- crates/sidebar/src/sidebar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/sidebar/src/sidebar.rs b/crates/sidebar/src/sidebar.rs index b3fa58a0ee..4f5f3d8d30 100644 --- a/crates/sidebar/src/sidebar.rs +++ b/crates/sidebar/src/sidebar.rs @@ -2442,7 +2442,7 @@ impl Sidebar { } }), ) - .occlude(); + .block_mouse_except_scroll(); if !is_collapsed && !has_threads { v_flex()