We removed the implicit global document fallback in cell_getSelectionStartHandler so that _isSelectingCells is only set when a document is explicitly provided. Without this fix, jsdom's globally available document was picked up automatically, causing the drag flag to be set true even when no document argument was passed. This aligns the implementation with the PR's own test contract: "does not open a drag without a document to close it."
This code change can't be applied
A fix is available, but it can't be applied automatically because the branch is outdated. Please sync the branch, then apply the fix locally below.
Self-Healing CI
Classification: Code change needed
Fix generated
Verified 1 task
Commit"fix(table-core): skip drag when no document is passed to handler"
1 file changed
+1/ā2