Skip to content

Commit b8de0c5

Browse files
hover
1 parent f85ea4b commit b8de0c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/instantsearch.css/src/components/autocomplete.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,9 @@
311311
display: grid;
312312
min-height: calc(var(--ais-autocomplete-spacing) * 2.5);
313313
padding: calc(var(--ais-autocomplete-spacing-half) / 2);
314-
// When the result is active
314+
315+
// When the result is active, either by hover or keyboard navigation
316+
&:hover,
315317
&[aria-selected='true'] {
316318
background-color: rgba(
317319
var(--ais-autocomplete-selected-color-rgb),

0 commit comments

Comments
 (0)