-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
I can move elements using the keyboard arrows #376
Comments
I think we should consider implementing it into the underlying https://github.com/bpmn-io/diagram-js keyboard-listeners |
Moving the canvas is actually already implemented as key bindings to arrows via bpmn-io/diagram-js@c77317b The question is if it is reasonable to replace current bindings instead of leaving them as they are and adding
@philippfromme @nikku @pinussilvestrus What is your opinion? |
@barmac I'm totally with you! I would also prefer just adding a new keyboard listener for a new functionality instead of changing a working one to a new behavior. It would be very frustrating for active users when the current experience is changing. |
I'd look into common practices for keyboard navigation rather than sticking to / preserving the status quo.
Our diagram-js release is already gonna be breaking due to API changes we introduced. That means it is now is a good moment to clean up. Another aspect is the fact that keyboard shortcuts are not widely used (expert feature) and the improvement was proposed as an expert feature, by an expert. |
I've done some research on that matter and the outcome is as follows:
Summary:
My proposal for the change:
The values should be configurable and with Shift the speed should be as high as 10 times the basic value (unless configured in a different way). |
Great research. Two comments:
|
Sure, as soon as we have a prototype the final outcome might change. Thanks for comments 👍 |
Final default configuration will be as follows:
|
Closed via #887 |
Keyboard heavy users benefit from being able to move a selection of elements via keyboard.
Tasks
Adopting the default behavior from Adobe Illustrator:
SHIFT
modifier to move per pixelThe text was updated successfully, but these errors were encountered: