Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit e1d6356

Browse files
authored
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
1 parent 9cf03a8 commit e1d6356

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/views/dialogs/spotlight/SpotlightDialog.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,7 @@ const SpotlightDialog: React.FC<IProps> = ({ initialText = "", initialFilter = n
10231023
})}>
10241024
<span>{ filterToLabel(filter) }</span>
10251025
<AccessibleButton
1026+
tabIndex={-1}
10261027
alt={_t("Remove search filter for %(filter)s", {
10271028
filter: filterToLabel(filter),
10281029
})}

0 commit comments

Comments
 (0)