fix for tags auto scroll (#136730)

This commit is contained in:
Julia Bardi 2022-07-21 10:10:19 +02:00 committed by GitHub
parent 0027f63783
commit f447470aa5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,6 +139,8 @@ export const TagsAddRemove: React.FC<Props> = ({
anchorPosition="leftUp"
>
<EuiSelectable
// workaround for auto-scroll to first element after clearing search
onFocus={() => {}}
aria-label={i18n.translate('xpack.fleet.tagsAddRemove.selectableTagsLabel', {
defaultMessage: 'Add / remove tags',
})}