Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
This issue does not appear to happen in v1.3.1. It does happen in 1.4 and 22.214.171.12435 (and presumably versions in between). It occurs for the Windows Phone platform for both physical devices and the emulator.
Sample repro solution attached.
The issue occurs when tapping certain parts of the list item. If you tap on the main area (or area containing sub views) then it works correctly. However if you tap on 'edges', in particular the bottom rightish portion of the list view item then the problem occurs. I have recorded a screencast to demonstrate this (though sadly it doesn't show the clicks occurring. Also when the mouse cursor disappears off the bottom of the video, that indicates the back button on the emulator is being clicked to return to the previous screen.
Basic sequence of events;
1. Run the attached solution.
2. Tap on an item in the list (first one will do). It should highlight, a progress bar appears, then the list is covered with a panel showing details of the tap. Tap the back button on the emulator.
3. Now simulate a 'lazy, inaccurate tap' on another item by clicking on another item in the list but near the right hand side of the list and near where the bottom edge of that item should be. The new item won't change to the selected style, but the progress bar will appear...
4. The details panel is shown again, but shows the details for the previous item.
My actual users are experiencing this on real devices, they often use a thumb to tap an item in the list and if they're right handed that's often just some rough area on the right hand side of the list. The tap itself *is* within the area of the correct item so should work, but the item tapped event returns the previously selected item instead.
Created attachment 10450 [details]
Reproduction of listview itemtapped event returning incorrect item.
Thank you for taking the time to submit this report. After reviewing the description of this bug, we believe it no longer affects the current version of Xamarin.Forms. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.
For your convenience, we have created some reproduction best practices viewable here: https://gist.github.com/jassmith/92405c300e54a01dcc6d
Xamarin Forms Team