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

Properties panel does not react to selection right after modeler is created #533

Open
barmac opened this issue Dec 20, 2021 · 0 comments
Open
Labels
backlog Queued in backlog bug Something isn't working

Comments

@barmac
Copy link
Member

barmac commented Dec 20, 2021

Describe the Bug

Properties panel does not react to selection right after modeler is created. The selection change listener is registered during the first render which is already too late when selection is changed programmatically.

Cf. https://github.com/camunda/camunda-bpmn-js/pull/76/files#diff-229a91e301ad3a2a7db5191f99cb7fc790f8f648c1d9713a2a68e0aaecd825ebR70-R72

Steps to Reproduce

Check out this branch with a failing test.

Expected Behavior

Selection change listener is registered on module creation.

Environment

  • Host (Browser/Node version), if applicable: [e.g. MS Edge 18, Chrome 69, Node 10 LTS]
  • OS: [e.g. Windows 7]
  • Library version: 1.x
@barmac barmac added the bug Something isn't working label Dec 20, 2021
@bpmn-io-tasks bpmn-io-tasks bot added the in progress Currently worked on label Dec 20, 2021
@barmac barmac removed their assignment Dec 20, 2021
@barmac barmac added backlog Queued in backlog and removed in progress Currently worked on labels Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant