We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3f0a18 commit 0a4bb0dCopy full SHA for 0a4bb0d
src/components/dragelement/index.js
@@ -78,6 +78,10 @@ dragElement.init = function init(options) {
78
element.ontouchstart = onStart;
79
80
function onStart(e) {
81
+ if(e.button && e.button === 2) { // right click
82
+ return;
83
+ }
84
+
85
// make dragging and dragged into properties of gd
86
// so that others can look at and modify them
87
gd._dragged = false;
0 commit comments