angular2-draggable icon indicating copy to clipboard operation
angular2-draggable copied to clipboard

the position of the old element change when i add a new element

Open roufa95 opened this issue 7 years ago • 1 comments

hello image 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 avatar Aug 01 '18 17:08 roufa95

@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.

xieziyu avatar Aug 02 '18 03:08 xieziyu