fix(grid): ignore pointer jitter during drag selection

This commit is contained in:
Melody Ruch authored and GitHub committed 2026-08-14 14:45:56 +08:00
1 parent 325127419f
commit 30d13bc7f0
3 files changed
+150 -3

No files matched your search

@@ -4328,6 +4328,7 @@ const {
selectionFocus,
finishCellSelection,
extendCellSelection,
isCellSelectionDragConfirmed,
restoreCellSelectionState,
cellIsSelected,
columnIsSelected,
@@ -4505,7 +4506,7 @@ function onCellMouseenter(rowIndex: number, visibleColIdx: number, actualColIdx:
quickDownloadMenuCell.value = retainBinaryCellDownloadMenuForHover(quickDownloadMenuCell.value, { rowIndex, col: actualColIdx });
if (!isScrolling.value) hoveredDetailCell.value = { rowIndex, col: actualColIdx };
}
extendCellSelection(rowIndex, visibleColIdx);
if (isCellSelectionDragConfirmed()) extendCellSelection(rowIndex, visibleColIdx);
}
function onCellMouseleave(rowIndex: number, actualColIdx: number) {