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

If you call oc.init(...) multiple times, some values are not reset resulting in unexpected behavior. #741

Open
ValeDale opened this issue Mar 7, 2024 · 0 comments

Comments

@ValeDale
Copy link
Contributor

ValeDale commented Mar 7, 2024

Example:

Show an orgchart. Perform a zoom
Perform a orgchart.init() with the new data.

New behavior: if you perform now a zoom, the zoom will be in much larger steps (as some variables are not reset).

Expected behavior: normal zoom.

(I will submit a solution for this in a moment). (solution consists of performing an unbind as first step in the bind (I suggest to do this both for pan and zoom).

ValeDale added a commit to ValeDale/OrgChart that referenced this issue Mar 7, 2024
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

No branches or pull requests

1 participant