fix: Raise the portaled menu above the Agent panel

This commit is contained in:
2026-07-20 17:25:10 +08:00
parent ac0c804da8
commit 93296a3e2f
2 changed files with 8 additions and 1 deletions
@@ -136,7 +136,11 @@ export function MessageBubbleRightClickMenu({
className="image-canvas-editor__context-menu"
role="menu"
aria-label={target.kind === 'text' ? '消息右键菜单' : '消息素材右键菜单'}
style={{ left: position?.x ?? x, top: position?.y ?? y }}
style={{
left: position?.x ?? x,
top: position?.y ?? y,
zIndex: 60,
}}
onContextMenu={(event) => event.preventDefault()}
>
{target.kind === 'text' ? (