Remove tabindex from filter remove button (#8919)
Filters can already be removed via backspace Removing the tabindex ensures the search input is focused by default insteadpull/28788/head^2
parent
9cf03a8d32
commit
e1d6356927
src/components/views/dialogs/spotlight
|
@ -1023,6 +1023,7 @@ const SpotlightDialog: React.FC<IProps> = ({ initialText = "", initialFilter = n
|
|||
})}>
|
||||
<span>{ filterToLabel(filter) }</span>
|
||||
<AccessibleButton
|
||||
tabIndex={-1}
|
||||
alt={_t("Remove search filter for %(filter)s", {
|
||||
filter: filterToLabel(filter),
|
||||
})}
|
||||
|
|
Loading…
Reference in New Issue