fix: stopPropagation when clicking MarkdownLink

This commit is contained in:
lawvs
2025-07-11 18:58:48 +08:00
parent f2ad2b911e
commit ccae8cbaec
@@ -7,6 +7,7 @@ import {
TooltipTrigger,
} from "@follow/components/ui/tooltip/index.jsx"
import { useCorrectZIndex } from "@follow/components/ui/z-index/ctx.js"
import { stopPropagation } from "@follow/utils"
import { use, useCallback } from "react"
import { useTranslation } from "react-i18next"
import { toast } from "sonner"
@@ -55,6 +56,7 @@ export const MarkdownLink = (props: LinkProps) => {
title={props.title}
target="_blank"
rel="noreferrer"
onClick={stopPropagation}
>
{props.children}