-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] mouse pointer/icon change on label hover #294
Comments
May be fixed by a |
The issue still exists with mxgraph 4.2.2 |
The text cursor is replaced by a pointer cursor after a pan After zoom, we still see the text cursor |
Explanations about the cursor we see after panningOriginal code <div id="bpmn-container" class="bpmn-container"> Before pan <div id="bpmn-container" class="bpmn-container" style="position: relative; touch-action: none;"> The style elements are set by After pan <div id="bpmn-container" class="bpmn-container"
style="position: relative; touch-action: none; cursor: default;"> After panning, the default cursor is set by |
Possible fixIn the bpmn container html element, we could set the cursor to default at the initialization (as we do after panning). Other resources |
Describe the bug
The mouse pointer changes when hovering on label (shape or edge): it displays a text edition pointer whereas labels are not editable.
To Reproduce
See screenshots. Can be reproduced at least with versions
0.1.1
to0.1.5
(master branch 171cbcf)Expected behavior
The mouse icon shouldn't show a text edition icon as labels are not editable, nor selectable.
This gives wrong direction to user letting him/her think the label is editable.
Screenshots
Portion of the B.2.0.bpmn file from BPMN-MIWG rendered with version
0.1.4
.
Desktop
Additional context
This may be the default
mxGraph
behaviour, some configuration is already setup to avoid label edition. Tests on vanillamxGraph
may be conducted to check if configuration can solve the issue.The text was updated successfully, but these errors were encountered: