What new or enhanced feature are you proposing?
Delay onExpand callback until fx duration has completed
--or--
New onFinish callback after dynatree has completed rendering the tree, including any fx duration
What goal would this enhancement help you achieve?
When the input field that will receive the selected node is positioned closer to the bottom edge of the viewport than the top, I want to position the dynatree immediately above that input field, leaving more height to display the tree. The bottom edge of the tree should appear immediately above the input field.
This works when fx: null. However, when fx: { height: "toggle", duration: 200 }, the onExpand callback returns before fx finishes. After a collapse, the height of the tree, as measured in my onExpand callback, is greater than when fx finishes, resulting in the bottom edge of the dynatree rising away from the input field after the child nodes are hidden, rather than the top of the tree collapsing down. (See example images)
|
Dynatree positioning images.zip
73.1 KB
Download
|
Labels: Milestone-Release2.0