Browse Source

fixes Issue #3428 : ComboBox should react on PointerReleasedEvent instead of PointerPressedEvent

pull/4744/head
Giuseppe Lippolis 6 years ago
parent
commit
a4c08adeb7
  1. 4
      src/Avalonia.Controls/ComboBox.cs

4
src/Avalonia.Controls/ComboBox.cs

@ -257,7 +257,7 @@ namespace Avalonia.Controls
}
/// <inheritdoc/>
protected override void OnPointerPressed(PointerPressedEventArgs e)
protected override void OnPointerReleased(PointerReleasedEventArgs e)
{
if (!e.Handled)
{
@ -276,7 +276,7 @@ namespace Avalonia.Controls
}
}
base.OnPointerPressed(e);
base.OnPointerReleased(e);
}
/// <inheritdoc/>

Loading…
Cancel
Save