kutlugsahin / smooth-dnd

drag and drop library for javascript
MIT License
598 stars 146 forks source link

Mouse position as point to rise 'drag-enter' #99

Open dlnsk opened 8 months ago

dlnsk commented 8 months ago

This time the point which rises 'drag-enter' event and animation is the center of ghost element. It's very strange from UX point of view. Sometimes it may be impossible to drop down the ghost if its width much bigger than the target container. Situation doesn't change if you use drag handle. Is there a way or workaround to make mouse position as the hook of 'drag-enter' position?