From 15e02be99d7ae8a3f602732b904083565a84a7a2 Mon Sep 17 00:00:00 2001 From: cruldra Date: Sat, 17 Oct 2026 13:10:03 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(vscode):=20=E7=9C=8B?= =?UTF-8?q?=E6=9D=BF=E6=8B=96=E6=8B=BD=E5=85=B3=E6=8E=89=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=EF=BC=8C=E7=82=B9=E5=88=97=E5=BA=95=E9=83=A8?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E6=89=8B=E4=B8=80=E6=8A=96=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E6=95=B4=E5=88=97=E5=BE=80=E4=B8=8B=E6=BB=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vscode/webview-ui/src/components/KanbanBoard.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vscode/webview-ui/src/components/KanbanBoard.tsx b/vscode/webview-ui/src/components/KanbanBoard.tsx index 6bfb8eb..3152998 100644 --- a/vscode/webview-ui/src/components/KanbanBoard.tsx +++ b/vscode/webview-ui/src/components/KanbanBoard.tsx @@ -240,6 +240,12 @@ export function KanbanBoard({ onDragStart={handleDragStart} onDragEnd={handleDragEnd} onDragCancel={() => setActiveId(null)} + // 关掉拖拽时的自动滚动(指针靠近列的上下边缘,列就自己滚),它在这里没有用处, + // 只会让点列底部卡片时手一抖被当成拖拽,整列跟着一路往下滚。 + // 各列顺序都由 [compareIssuesInColumn] 算出,列内拖动重排看不出效果;跨列拖拽 + // 落在目标列任何位置都只是换列(见 [resolveKanbanDrag]),不用把目标列滚到某张卡; + // 唯一要对准具体卡片的是待办列设前置依赖,拖拽中用滚轮或触控板照样能滚。 + autoScroll={false} >
{COLUMN_ORDER.map((column) => {