make FixNestedScrolling diygrid popup conditional check more specific
This commit is contained in:
1 parent
47c827caf6
commit
eebb214574
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user