diff --git a/public/app/features/search/components/SearchItem.tsx b/public/app/features/search/components/SearchItem.tsx index 57743ea0547..6cf87e9a950 100644 --- a/public/app/features/search/components/SearchItem.tsx +++ b/public/app/features/search/components/SearchItem.tsx @@ -29,6 +29,8 @@ export const SearchItem: FC = ({ item, editable, onToggleChecked, onTagSe const styles = useStyles2(getStyles); const tagSelected = useCallback( (tag: string, event: React.MouseEvent) => { + event.stopPropagation(); + event.preventDefault(); onTagSelected(tag); }, [onTagSelected]