[richfaces-issues] [JBoss JIRA] Updated: (RF-10991) Drag'n'Drop: DOM tree pollution after dnd operations.

Jay Balunas (JIRA) jira-events at lists.jboss.org
Thu Aug 4 17:41:27 EDT 2011


     [ https://issues.jboss.org/browse/RF-10991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay Balunas updated RF-10991:
-----------------------------

    Fix Version/s: 4.1.0.Milestone2
                       (was: 4.1.0.Final)


> Drag'n'Drop: DOM tree pollution after dnd operations.
> -----------------------------------------------------
>
>                 Key: RF-10991
>                 URL: https://issues.jboss.org/browse/RF-10991
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-drag/drop
>    Affects Versions: 4.0.0.Final
>            Reporter: Ilya Shaikovsky
>            Priority: Critical
>             Fix For: 4.1.0.Milestone2
>
>
> New indicator getting added to DOM each time when object dragged. And not removed after drop operation.
> http://richfaces-showcase.appspot.com/richfaces/component-sample.jsf?demo=dragDrop&skin=blueSky
> drag "flexible ajax" a few times and drop but not to target zone but just releasing the indicator. 
> Now inspect the table cell with that element. I'm seeing next picture (as much hidden td's as much times you dragged):
> <td>
> <div class="rf-ind-drag ui-draggable"
> 	id="form:src:0:j_idR370443752_3d201a4f" style="position: relative;">Flexible
> Ajax</div>
> <div class="rf-ind-drag ui-draggable"
> 	id="form:src:0:j_idR370443752_3d201a4f"
> 	style="position: absolute; left: 635px; top: 307px; display: none;">Flexible
> Ajax</div>
> <div class="rf-ind-drag ui-draggable"
> 	id="form:src:0:j_idR370443752_3d201a4f"
> 	style="position: absolute; left: 628px; top: 304px; display: none;">Flexible
> Ajax</div>
> <div class="rf-ind-drag ui-draggable"
> 	id="form:src:0:j_idR370443752_3d201a4f"
> 	style="position: absolute; left: 642px; top: 307px; display: none;">Flexible
> Ajax</div>
> <div class="rf-ind-drag ui-draggable"
> 	id="form:src:0:j_idR370443752_3d201a4f"
> 	style="position: absolute; left: 633px; top: 310px; display: none;">Flexible
> Ajax</div>
> <div class="rf-ind-drag ui-draggable"
> 	id="form:src:0:j_idR370443752_3d201a4f"
> 	style="position: absolute; left: 639px; top: 317px; display: none;">Flexible
> Ajax</div>
> </td>
> Besides. Side issue maybe just review and create new one during that code checks. I'm not sure why we adding ui:draggable styles and relative position to *original* element right after it rendered. Why that could not be done only at clonned copy? Could that affect the UI in some cases(I think so)?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list