We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d69a75 commit f7969b3Copy full SHA for f7969b3
src/Selection.js
@@ -80,7 +80,7 @@ class Selection {
80
, collides, offsetData;
81
82
// Right clicks
83
- 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))
84
return;
85
86
if (!this.globalMouse && node && !contains(node, e.target)) {
0 commit comments