mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
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 instead
This commit is contained in:
parent
9cf03a8d32
commit
e1d6356927
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue