diff --git a/public/app/features/alerting/unified/components/HoverCard.tsx b/public/app/features/alerting/unified/components/HoverCard.tsx index 9a8bd56c6e4..8239bd86426 100644 --- a/public/app/features/alerting/unified/components/HoverCard.tsx +++ b/public/app/features/alerting/unified/components/HoverCard.tsx @@ -57,6 +57,8 @@ export const HoverCard = ({ wrapperClassName={classnames(styles.popover(arrow ? 1.25 : 0), wrapperClassName)} onMouseLeave={hidePopper} onMouseEnter={showPopper} + onFocus={showPopper} + onBlur={hidePopper} referenceElement={popoverRef.current} renderArrow={ arrow @@ -70,6 +72,8 @@ export const HoverCard = ({ ref: popoverRef, onMouseEnter: showPopper, onMouseLeave: hidePopper, + onFocus: showPopper, + onBlur: hidePopper, })} ); diff --git a/public/app/features/alerting/unified/components/Tokenize.tsx b/public/app/features/alerting/unified/components/Tokenize.tsx index 3866cc3a99a..12ca16617ff 100644 --- a/public/app/features/alerting/unified/components/Tokenize.tsx +++ b/public/app/features/alerting/unified/components/Tokenize.tsx @@ -88,12 +88,12 @@ function Token({ content, description, type }: TokenProps) { disabled={disableCard} content={
- {type}} color={'blue'} /> {description && {description}} + {type}} color={'blue'} /> {description && {description}}
} > - + ); diff --git a/public/app/features/alerting/unified/components/rules/RulesFilter.tsx b/public/app/features/alerting/unified/components/rules/RulesFilter.tsx index b38e4ac6218..9bdc54df798 100644 --- a/public/app/features/alerting/unified/components/rules/RulesFilter.tsx +++ b/public/app/features/alerting/unified/components/rules/RulesFilter.tsx @@ -203,7 +203,7 @@ const RulesFilter = ({ onFilterCleared = () => undefined }: RulesFilerProps) => Search }> - +