Bug 41072 - ItemSelected is not fired when keyboard used to change the selection in a ListView
Summary: ItemSelected is not fired when keyboard used to change the selection in a Lis...
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.2.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-05-13 11:40 UTC by John Hardman
Modified: 2017-09-06 09:39 UTC (History)
5 users (show)

Tags: Windows UWP WinRT Keyboard ItemSelected
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description John Hardman 2016-05-13 11:40:07 UTC
On UWP and Windows 8.1 RT, if the user uses the keyboard to move the selection in a ListView, ItemSelected is not fired. It should be.

Not supporting keyboard usage will cause problems with accessibility.
Comment 1 Rui Marinho 2016-08-03 09:14:43 UTC
Should be fixed in 2.3.2-pre1. Thank you!
Comment 2 John Hardman 2017-07-19 23:28:11 UTC
Still a problem in

The expected behavior is that ItemSelected will be fired each time the selection moves from one ListView item to another, which on UWP is going to result from using the cursor up and cursor down keys when a keyboard is available.

The actual behavior is that ItemSelected is only fired when the Enter/Return key is pressed. Hitting Enter/Return or space should fire ItemTapped, not ItemSelected, so the actual behavior is wrong in two ways - neither ItemSelected nor ItemTapped is fired when expected.
Comment 3 Paul DiPietro [MSFT] 2017-07-20 00:06:29 UTC
This should be resolved as a part of this PR which adds the accessibility support: https://github.com/xamarin/Xamarin.Forms/pull/713