Skip to content
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

Prepare for diagram-js@9 / browser native focus handling #311

Draft
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

nikku
Copy link
Member

@nikku nikku commented Aug 17, 2022

This implements browser native selection + keyboard binding following bpmn-io/diagram-js#662.

The form playground is the best example what browser native focus handling can acomplish: Each focusable element has it's own keyboard shortcuts; undo/redo works independently across all "editors":

capture CPUDfT_optimized


Try it out via

npx @bpmn-io/sr bpmn-io/form-js#diagram-js-10 -c "npm run start:playground"

@bpmn-io-tasks bpmn-io-tasks bot added the in progress Currently worked on label Aug 17, 2022
@nikku nikku added the ready Ready to be worked on label Aug 18, 2022 — with bpmn-io-tasks
@nikku nikku removed the in progress Currently worked on label Aug 18, 2022
Copy link
Contributor

@pinussilvestrus pinussilvestrus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it out on Mac Chrome & Safari, works like a charm from what I see ❤️

(A better fix would be using proper event delegation, but OK...)
@nikku nikku added the backlog Queued in backlog label Aug 19, 2022 — with bpmn-io-tasks
@nikku nikku removed the ready Ready to be worked on label Aug 19, 2022
@nikku nikku removed their assignment Aug 26, 2022
@nikku nikku changed the title Prepare for diagram-js@9 Prepare for diagram-js@9 / browser native focus handling Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog
Development

Successfully merging this pull request may close these issues.

None yet

2 participants