Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P02, 4.0
-
Fix Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03, 4.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
-
Support Case References:Support Case #13317 - https://icesoft.my.salesforce.com/50070000013V78a
Description
With a drag and drop enabled ace:tree, if you move all nodes from a parent node, it is almost impossible to drag a node back into this parent node.
This can be reproduced with the Showcase ace:tree demo (overview or drag and drop samples).
Steps:
- Drag all of the nodes from Province: British Columbia
- Try to drag a node back into this parent node, it is almost impossible, the node will either be inserted above or below it.
This can be reproduced with the Showcase ace:tree demo (overview or drag and drop samples).
Steps:
- Drag all of the nodes from Province: British Columbia
- Try to drag a node back into this parent node, it is almost impossible, the node will either be inserted above or below it.
Committed fix to 4.0 trunk at revision 44144 and to 3.3 EE maintenance branch at revision r44145.
The fix consists in re-initializing the tree in the client after reorder requests, in order to re-apply all necessary event listeners for the reordering functionality to work on all nodes. Also, increased height of child node container by 2 px, so it's easier to insert child nodes in leaf nodes.