Yair Levy

Results 17 comments of Yair Levy

Well i am currently on another project, once i get it done i will make a vue3 version of this one (its just some subtle changes to the code)

OK... :-) i got mixed up with another D&D library i developed which has the ability to scroll whitin an inner container... In vue-dnd-zone this is not possible, native scroll...

vue-dnd-zone can be set anywhere in the document. it doesn't have the ability to trigger inner container scrolling - so you should avoid your content height/width overflows the container dimensions....

Well to avoid this i would suggest using a handle class (so only tapping the handle will trigger a drag process)

Add a prop named handle-class to the dnd-zone component ` ` This will make only elements with a class named 'handle' draggable

Setting 'dataMode' to 'true' (in the options object) will 'undo' all DOM mutations when the drag event ends. This will allow to to listen to 'lmddend' event, and run your...

The logic implemented in the positioning algorithm is as follows: If cursor location is above or left the element top-left point, the dragged element will be placed before it. I...

that's an interesting direction... and can be implemented with a little effort... i will dig into it