If I have a large amount of data (a few hundred rows) bound to a LongListSelector, it can take a few hundred milliseconds for the control to switch to 'group view' when the user taps on a group header. If, during those few hundred milliseconds, the user taps on another group header, the control gets into a mess - it leaves a 'group view' screen displayed, and there is no way to dismiss it.
I fixed this in my local build by hacking the code in two places in LongListSelector.cpp:
1) in BuildPopup, adding a test at the start:
if (_groupSelectorPopup != null)
return;
2) in OpenPopup, adding a test at the start:
if (_groupSelectorPopup != null && _groupSelectorPopup.IsOpen)
return;
But maybe someone who actually understands the code could take a look, and see if there is a way to fix this properly. Thanks.
I fixed this in my local build by hacking the code in two places in LongListSelector.cpp:
1) in BuildPopup, adding a test at the start:
if (_groupSelectorPopup != null)
return;
2) in OpenPopup, adding a test at the start:
if (_groupSelectorPopup != null && _groupSelectorPopup.IsOpen)
return;
But maybe someone who actually understands the code could take a look, and see if there is a way to fix this properly. Thanks.