Skip to content

Commit 7bf2524

Browse files
committed
Interrupt transition on brushstart, if any.
1 parent 1a54808 commit 7bf2524

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

d3.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8015,6 +8015,7 @@ d3 = function() {
80158015
} else {
80168016
w.on("mousemove.brush", brushmove).on("mouseup.brush", brushend);
80178017
}
8018+
g.interrupt().selectAll("*").interrupt();
80188019
if (dragging) {
80198020
origin[0] = extent[0][0] - origin[0];
80208021
origin[1] = extent[0][1] - origin[1];

0 commit comments

Comments
 (0)