mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
The search dialog highlights a result both when it is the keyboard-active
item and on CSS hover, with the same style. With the pointer resting on one
row and the keyboard moving the selection, two rows look selected, and
Enter opens the keyboard row instead of the one under the pointer.
Moving the pointer over a result now makes it the active item in the
existing key manager, so there is a single highlight and Enter acts on it.
The separate :hover rule is removed, along with an .active background rule
that a later rule always overrode.
(cherry picked from commit 0f88f19dfa)