Last Updated: 19 Apr 2022 06:45 by ADMIN
Release LIB 2022.1.425 (25 April 2022)
Martin Ivanov
Created on: 16 Mar 2022 14:26
Category: ListBox
Type: Bug Report
ListBox: Keyboard arrow keys navigation stops working when item is selected with touch input

RadListBox allows you to navigate between the items using the arrow keys on the keyboard. To enable this, you will need to select any item in order to focus the control. Using touch input to select an item, instead of the mouse, is breaking the arrow keys navigation. Pressing up and down no longer navigates to the previous and next item.

To work this around, subscribe the RadListBox control to the TouchManager.Tap event and focus the tapped RadListBoxItem in the event handler.

public MainWindow()
	TouchManager.AddTapEventHandler(this.listBox, this.OnTap, true);

private void OnTap(object sender, TapEventArgs e)
	var tapElement = (FrameworkElement)e.OriginalSource;
	var item = tapElement.ParentOfType<RadListBoxItem>();
	if (item != null)