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

types(dia.ElementView): fix return types (window.Element vs dia.Element #2814

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

kumilingus
Copy link
Contributor

Description

Fix several issues introduced by #2585.

The confusion between dia.Element (a JointJS element model) and window.Element (a DOM object) is addressed in this PR. It fixes the existing problems (ElementView's update() & findPortNode()) and aims to prevent similar issues in the future by introducing a new DOMElement type.

@Geliogabalus Geliogabalus merged commit d1918e3 into clientIO:master Dec 2, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants