mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 10:32:44 +00: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:
committed by
GitHub
parent
9cf03a8d32
commit
e1d6356927
@@ -1023,6 +1023,7 @@ const SpotlightDialog: React.FC<IProps> = ({ initialText = "", initialFilter = n
|
|||||||
})}>
|
})}>
|
||||||
<span>{ filterToLabel(filter) }</span>
|
<span>{ filterToLabel(filter) }</span>
|
||||||
<AccessibleButton
|
<AccessibleButton
|
||||||
|
tabIndex={-1}
|
||||||
alt={_t("Remove search filter for %(filter)s", {
|
alt={_t("Remove search filter for %(filter)s", {
|
||||||
filter: filterToLabel(filter),
|
filter: filterToLabel(filter),
|
||||||
})}
|
})}
|
||||||
|
|||||||
Reference in New Issue
Block a user