From 1aeff633b602997f939393710c9517958ae347b0 Mon Sep 17 00:00:00 2001 From: whalestar-doc <3539426436@qq.com> Date: Tue, 24 Nov 2026 16:37:10 +0800 Subject: [PATCH] fix(file-tree): pass contextual so the PC context menu opens Rebased onto v0.33.0 (0f4b87c4). The trust-admission change from this PR is dropped: upstream 089246e6 now solves it with ctx.inject(['connection.authentication']) + admit(), and the repo forbids runtime compatibility layers. --- src/client/FileTree.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/FileTree.tsx b/src/client/FileTree.tsx index d0900e1f..2e5669c3 100644 --- a/src/client/FileTree.tsx +++ b/src/client/FileTree.tsx @@ -2600,6 +2600,7 @@ export function FileTree(props: { }} portal compact + contextual align="start" anchorPoint={rowMenu === null ? undefined : { x: rowMenu.x, y: rowMenu.y }} anchor={}