fieldChooser icon indicating copy to clipboard operation
fieldChooser copied to clipboard

The Drag and Drop creates multiple copies of the elements when dragged from Destination to Source

Open ganesh-dks opened this issue 9 years ago • 1 comments

Hi,

I have used the FieldChooser in my project as a major dependent control. Thanks for keeping it free. However at certain point it behaves differently. When I drag the fields from destination to source I get multiple copies of the same element to be dropped in to source and worse I can't even delete them.

The error pops up in Jquery-ui-min.js : - says Unable to get property 'insertBefore' of undefined or null reference that too in IE 10. Otherwise I wasn't able to spot it out.

I am not able to understand why this is happening because it doesn't replicate regularly. I initialise the control from my code although I have placed the required divs in my page. They change as per user role type. I mean the control gets the order and arrangement of fields from backend on a per role basis. Here's image multiple divs on drag Please help ...........

ganesh-dks avatar May 20 '15 05:05 ganesh-dks

The issue happens when you release your button when your cursor is outside of the drop area. If the cursor is inside the drop area then duplication does not occur.

raszi avatar Feb 10 '22 09:02 raszi