div first returns to actual position and then appears on shuffled position after onDragEnd

تبليغ
سؤال

يرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.

تبليغ
‎إلغاء

I was trying to build React-dnd like drag’N’drop but facing this issue. When the drag ends i.e. onDragEnd, the dragged div first returns to the position from where it is dragged and then appears on the new position where it is shuffled.

Can pls someone help what I am missing?

‫أضف إجابة

تصفح
تصفح

مجهول يجيب