Browse Source

Hack for ScrollGestureRecognizer.

pull/11455/head
Steven Kirk 3 years ago
parent
commit
fc1261a9f1
  1. 5
      src/Avalonia.Controls/ListBoxItem.cs

5
src/Avalonia.Controls/ListBoxItem.cs

@ -72,7 +72,10 @@ namespace Avalonia.Controls
// Otherwise perform the selection when the pointer is released as to not // Otherwise perform the selection when the pointer is released as to not
// interfere with gestures. // interfere with gestures.
_pointerDownPoint = p.Position; _pointerDownPoint = p.Position;
e.Handled = true;
// Ideally we'd set handled here, but that would prevent the scroll gesture
// recognizer from working.
////e.Handled = true;
} }
} }
} }

Loading…
Cancel
Save