Details
-
Type: Improvement
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 1.8.2-EE-GA_P02
-
Fix Version/s: None
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Any
-
Salesforce Case Reference:
Description
While drag and drop support is present in <ice:panelGroup>, it doesn't work as one might expect when such a component is inside an <ice:treeNode> component. The reason is that the same instance of the <ice:panelGroup> component generates multiple tree nodes in the client side. Thus, when we drag and drop a single node in the client, a CSS update for this HTML element is sent to the server (coordinates where we dropped it, etc.), and this update is stored at the component level (point: there's only one component instance). Then, at render time, this update is applied to all HTML elements that correspond to this component, even when they have different client IDs. Visually, this makes the whole tree move when we drag and drop a single tree node. Moreover, if ghosting is enabled, all tree nodes appear stacked on top of each other.
It is necessary to make the code aware that a single component can have multiple representations in the client, and we must implement a mechanism to keep track of CSS updates of individual HTML elements in the client.
It is necessary to make the code aware that a single component can have multiple representations in the client, and we must implement a mechanism to keep track of CSS updates of individual HTML elements in the client.
Activity
Arturo Zambrano
created issue -
Arturo Zambrano
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Arturo Zambrano [ artzambrano ] |
Arturo Zambrano
made changes -
Salesforce Case | [] | |
Component/s | Components [ 10012 ] |
Ken Fyten
made changes -
Assignee | Arturo Zambrano [ artzambrano ] |
Arran Mccullough
made changes -
Salesforce Case Reference | 5007000000T7nF9AAJ |