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

Rework initial focus state handling of focus tracker #1437

Open
tortmayr opened this issue Dec 5, 2024 · 0 comments
Open

Rework initial focus state handling of focus tracker #1437

tortmayr opened this issue Dec 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tortmayr
Copy link
Contributor

tortmayr commented Dec 5, 2024

Currently the focus tracker simply sets the hasFocus property to true on init.
This is an issue because

  1. This means that the initial state of the focus tracker is incomplete. (hasFocus is true but the diagramElement and focusElement properties are not defined
  2. It not necessarily always true that the diagram already has the focus on initi/startup
@tortmayr tortmayr added the bug Something isn't working label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant