fix(webui): stabilize transcript menu interactions

This commit is contained in:
yiling
2026-12-04 23:27:44 +08:00
parent 3e81550a81
commit cfda8e9a0e
6 changed files with 49 additions and 12 deletions
@@ -346,10 +346,6 @@ export function FileBrowserContextMenu({
>
{openInNewTabHref && (
<ContextMenuItem
onPointerUp={(event) => {
// Radix can synthesize a click as the right button that opened the menu is released.
if (event.button !== 0) event.preventDefault()
}}
onSelect={() => window.open(openInNewTabHref, '_blank', 'noopener,noreferrer')}
>
<ExternalLink className="mr-2 h-4 w-4" />