-
Notifications
You must be signed in to change notification settings - Fork 137
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
fix: port implicit keyboard binding over to decision editors #921
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The goal of this pull request was to simply make sure the configuration in It doesn't change or fix any of the flaws we have now. The undo behavior you are showing can be reproduced with current version too. I think this one actually follows native browser behavior - you don't have to have an input focused in order to undo in it. See blow: Screen.Recording.2024-11-14.at.18.05.31.movI agree some of undo/redo behaviors are unexpected. I've recently investigated it as a part of this Undo/redo in BKM issue. In effort to wrap up integration of |
d553fe5
to
48475b7
Compare
packages/dmn-js-decision-table/src/features/keyboard/Keyboard.js
Outdated
Show resolved
Hide resolved
packages/dmn-js-literal-expression/src/features/keyboard/Keyboard.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I propose we link bpmn-io/diagram-js#662 as a breaking change resource.
Co-authored-by: Nico Rehwaldt <[email protected]>
Co-authored-by: Nico Rehwaldt <[email protected]>
Closes #920
Proposed Changes
Adjust Keyboard modules in
dmn-js-decision-table
anddmn-js-literal-expression
to follow new implicit keyboard binding behavior.Change the test for keyboard binding to subscript onto events instead of directly checking internal property.
Checklist
To ensure you provided everything we need to look at your PR:
@bpmn-io/sr
toolCloses {LINK_TO_ISSUE}
orRelated to {LINK_TO_ISSUE}