Browse Source

Make DropDown selection work again.

pull/278/head
Steven Kirk 11 years ago
parent
commit
86cfc309a5
  1. 9
      src/Perspex.Controls/DropDown.cs

9
src/Perspex.Controls/DropDown.cs

@ -110,6 +110,15 @@ namespace Perspex.Controls
if (((IVisual)e.Source).GetVisualAncestors().Last().GetType() != typeof(PopupRoot))
{
IsDropDownOpen = true;
e.Handled = true;
}
}
if (!e.Handled)
{
if (UpdateSelectionFromEventSource(e.Source))
{
e.Handled = true;
}
}

Loading…
Cancel
Save