diff --git a/MainWindow.xaml b/MainWindow.xaml
index ce0d36f..5bff6cd 100644
--- a/MainWindow.xaml
+++ b/MainWindow.xaml
@@ -366,7 +366,7 @@
Visibility="{Binding SelectedElement, Converter={StaticResource NotNullToVis}}">
-
diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs
index ea6848c..b118340 100644
--- a/MainWindow.xaml.cs
+++ b/MainWindow.xaml.cs
@@ -209,7 +209,7 @@ public partial class MainWindow : Window
if (e.OriginalSource is not DependencyObject original) return;
if (IsDescendantOf(original, PreviewGrid)) return;
if (IsDescendantOf(original, SourceList)) return;
- if (IsDescendantOf(original, ElementsPanel)) return;
+ if (IsDescendantOf(original, ElementsScrollViewer)) return;
_viewModel.SelectedElement = null;
}
diff --git a/TASKS.md b/TASKS.md
index dccb2c3..8c9dbc8 100644
--- a/TASKS.md
+++ b/TASKS.md
@@ -825,6 +825,7 @@ No changes to `MusicPlayer`, the 0.20 cap, the ducker, or the meter zones. Build
8. ✅ Webcam border config — color hex input + color swatch picker, border thickness 0–10 slider
9. ✅ Countdown source — `SourceType.Countdown`, pick list (Starting/BRB scenes only), timer minutes 1–60 default 15
10. ✅ Web source — `SourceType.WebSource`, pick list (all scenes), URI text input
+11. ✅ Elements scrollbar deselect fix — clicking the Elements panel scrollbar no longer deselects the selected element (scrollbar lives inside the ScrollViewer, not the StackPanel; guard now checks `ElementsScrollViewer` instead of `ElementsPanel`)
---