Open Skaiir opened 2 years ago
Something to note about this issue:
I have been exploring related areas for some time. I saw the same issue as I normally use middle-mouse drag for movement in canvas.
Reproducible in Windows 11 22H1 64bit as well on both Camunda Modeler v5.1 and v5.4 with the steps mentioned above. I think the auto-scroll mode gets triggered by the default event handler if there is an underlying overflowing scrollable element on the middle mouse click.
Sharing my observations,
cloud-bpmn
v8 editor onlyTried the following,
overflow: hidden
to https://github.com/camunda/camunda-modeler/blob/develop/client/src/app/tabs/cloud-bpmn/BpmnEditor.less#L4 fixes it for v5.4.0, but it didn't help for v5.1.Browser: Chromium (Electron) OS: Windows 10 64bit Camunda Modeler 5.1 & 5.4.0
Describe the Bug
Dragging the diagram view around with middle mouse click leads the cursor to be stuck as an autoscrolling cursor, visual example:
Steps to Reproduce
form-js
ordmn-js
Expected Behavior
The auto-scroll cursor should never really show up, as it's not a form of navigation we use in diagram-js (@nikku correct if I am wrong). Instead we'd expect the hand cursor only, and to revert back to a normal cursor when middle-mouse is released.
Environment
Browser: Chromium (Electron) OS: Windows 10 64bit Could repeat in Camunda Modeler 5.1 & 5.4rc1