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) => {