diff --git a/scss/components/_richlistbox.scss b/scss/components/_richlistbox.scss index b61a73a4b3..5c7baf2b8a 100644 --- a/scss/components/_richlistbox.scss +++ b/scss/components/_richlistbox.scss @@ -1,3 +1,10 @@ +// An autocomplete popup keeps focus in the field it completes, so its selected +// row is the active one, rather than the platform's unfocused selection +panel[type="autocomplete-richlistbox"] .autocomplete-richlistitem[selected] { + background-color: var(--color-accent); + color: var(--color-accent-text); +} + richlistbox { background: var(--material-background); border: var(--material-panedivider);