mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-04 23:24:21 +00:00
fix(webui): stabilize transcript menu interactions
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user