Skip to content

[appets/kickoff] Eat unfocused activations for non-search views

Unless we are showing search results, if the return or enter key is pressed, we should not activate the selected item unless the item is currently focused. Otherwise people can get confused by unfocused yet previously selected items being activated when the return or enter key is pressed.

Test cases:

  • Tab to a power button and hit return: now the unfocused item is focused rather than activated
  • Activating items with a click still works
  • Activating focused items with the keyboard still works
  • Search for something and hit return/enter; it should activate the item irrespective of focus

BUG: 433260 FIXED-IN: 5.23

cc @teams/usability @ndavis

Edited by Nate Graham

Merge request reports