How does vue or js realize the function of dragging a module and fixing it to a board?

currently can drag to the left, using absolute positioning, but the browser window, when zooming, the position will change. This is a problem.

Mar.23,2021

1: implement drag instruction;
2: store all target area collision detection areas;
3: implement collision detection;
4: insert drag.


the first edition of ordinary
Gdf5UL6kFQ.gif


QRWMxIPZ6w.gif


Vue.Draggable

https://github.com/SortableJS...

clipboard.png

Menu