From f7969b3845d675b70055e6f50f4687149f90103f Mon Sep 17 00:00:00 2001 From: jquense Date: Wed, 30 Sep 2015 08:33:32 -0400 Subject: [PATCH] [fixed] use client coords to get node during selection --- src/Selection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Selection.js b/src/Selection.js index d643c3155..2adbc0a73 100644 --- a/src/Selection.js +++ b/src/Selection.js @@ -80,7 +80,7 @@ class Selection { , collides, offsetData; // Right clicks - if (e.which === 3 || e.button === 2 || !isOverContainer(node, e.pageX, e.pageY)) + if (e.which === 3 || e.button === 2 || !isOverContainer(node, e.clientX, e.clientY)) return; if (!this.globalMouse && node && !contains(node, e.target)) {