You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When dragging a node/port with mouse (Chrome OS 60), you sometimes get a canvas pan, sometimes the desired action. With touch it works reliably.
It seems a Hammer.js issue (hammerjs/hammer.js#1113, though that one reporting it wrong way around), but we need to try to find a workaround.
Looking at the events happening, the difference appears to be that with mouse, we are getting first event (mousedown) with correct target, but then the second event (mousemove) is already above a different target, causing the gesture to be detected to the new target, not the original one.
I have found that clicking on the node produces the desired action (creating a new edge) consistently as well. Dragging in Chrome Version 62.0.3202.62 (Official Build) (64-bit) on Linux rarely works.
When dragging a node/port with mouse (Chrome OS 60), you sometimes get a canvas pan, sometimes the desired action. With touch it works reliably.
It seems a Hammer.js issue (hammerjs/hammer.js#1113, though that one reporting it wrong way around), but we need to try to find a workaround.
Looking at the events happening, the difference appears to be that with mouse, we are getting first event (mousedown) with correct target, but then the second event (mousemove) is already above a different target, causing the gesture to be detected to the new target, not the original one.
Dragging with mouse:
Dragging with touch:
Events logged with
I wonder if we can tweak pan recognizer settings to fix this? http://hammerjs.github.io/recognizer-pan/
The text was updated successfully, but these errors were encountered: