OrgChart icon indicating copy to clipboard operation
OrgChart copied to clipboard

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

Open ValeDale opened this issue 1 year ago • 0 comments

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 avatar Mar 07 '24 12:03 ValeDale