Quantcast
Channel: Silverlight Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 801

Closed Issue: ListPicker Doesn't Work Properly In A ScrollViewer [7779]

$
0
0
When I put a ListPicker into a ScrollViewer and then try to scroll, if I start the scrolling gesture on the ListPicker, it will open up the ListPicker when I'm done (even though I'm only trying to scroll).

This problem is caused by the fact that the ListPickerMode is changed when the ManipulationComplete event fires, regardless of what kind of manipulation was completed. I solved the problem with the following line of code at 606 of the ListPicker.cs

if ((Math.Abs(e.TotalManipulation.Translation.X) < 20) && (Math.Abs(e.TotalManipulation.Translation.Y) < 20))
{
[Change ListPickerMode]
}

This weeds out any interactions that are more "swipe-y" and less "tap-y". (We could probably actually even reduce the manipulation delta to something like 10 if we wanted to be conservative about it.)
Comments:

Boht issues mentioned no longer repro in the November 2011 release. If you install the latest version and the issue still repros please re-open.


Viewing all articles
Browse latest Browse all 801

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>