1
Vote

Moved item loses highlighting

description

In a ReorderListBox with SelectionMode="Multiple", after moving a selected item, it appears unselected afterwards, i.e. its text color turns from the phone's accent color to white rigth after dropping it. However, that's just a visual problem; internally, that item remains selected.

I've seen this bug on Windows Phone 8.1 with the latest ReorderListBox version from NuGet.

I don't have a bugfix, but a simple workaround:
  1. Add a manipulation completion event handler to your ReorderListBox: ManipulationCompleted="ReorderCompleted"
  2. In that event handler, manually repaint your ReorderListBox:
private void ReorderCompleted(object sender, EventArgs e)
{
    (sender as ReorderListBox).UpdateLayout();
}

comments