the position of the old element change when i add a new element
hello
i have a problem with the position
if i add dynamically a new draggable element, the position of the old elements change(in my exemple the element 1 "pompe 1" move automatically to behind when i add a new element , the position stay the same but the element still move behin
and if i add 2 element with the same position e.g {x:0,y:0}, they dot not show in the same place
in the img the there are 3 element that's have the same position but they are placed in different places
some one have a solution pls
ps: sorry for my bad english
@roufa95
It seems your "pompe" div remains in the normal flow of the document. But I guess you need absolutely positioned elements. If so, you need to set position: absolute in its style sheet.