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

Do not query DOM for Canvas#hasMarker check #919

Merged
merged 2 commits into from
Jun 28, 2024
Merged

Conversation

nikku
Copy link
Member

@nikku nikku commented Jun 28, 2024

Proposed Changes

As implemented by @marstamm and discussed in #915 (comment) we want marker querying to not be a DOM operation (costly).

Related to camunda/camunda-modeler#4335

Checklist

To ensure you provided everything we need to look at your PR:

  • Brief textual description of the changes present
  • Visual demo attached
  • Steps to try out present, i.e. using the @bpmn-io/sr tool
  • Related issue linked via Closes {LINK_TO_ISSUE} or Related to {LINK_TO_ISSUE}

@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Jun 28, 2024
@nikku nikku changed the title chore(Canvas): do not query DOM for markers Do not query DOM for Canvas#hasMarker check Jun 28, 2024
@nikku nikku merged commit e8a19c1 into develop Jun 28, 2024
8 checks passed
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Jun 28, 2024
@nikku nikku deleted the canvas-marker-no-query branch June 28, 2024 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants