diff --git a/src/client/spark/view/Extensions/ScrollViewerCorrector.cs b/src/client/spark/view/Extensions/ScrollViewerCorrector.cs index 6c82f8d29..6bf98189d 100644 --- a/src/client/spark/view/Extensions/ScrollViewerCorrector.cs +++ b/src/client/spark/view/Extensions/ScrollViewerCorrector.cs @@ -30,7 +30,7 @@ namespace mbts.ui { static void _on_preview_mouse_wheel(object sender, MouseWheelEventArgs e) { if (!e.Handled && sender is ScrollViewer sv && !_reentrancy_list.Contains(e)) { - if (Window.GetWindow(sv) == null) { + if (e.Source is GridViewColumnHeader && Window.GetWindow(sv) == null) { // This is a hack specifically for the DIYGrid filter popup (namely, the DiscreteValues ListBox-based template - it doesn't scroll otherwise)...i really, really hate this bug. // The end of the cycle approaches, so unf there is not time to dig deeper into this and find a cleaner fix. // - John, 05/06/2019