Hello I'm using Vue-moveable on my project
package :
"vue": "^2.6.14",
"vue-moveable": "^2.0.0-beta.40",
"vuex": "^3.6.2"
I'm having trouble while changing the objects html position and the target is also getting changes
when i set the target i use onClick setTarget = e.target ;
the target is getting saved in VueX store;
I'm getting the objects from store . the objects are array of objects and i'm just manipulating the array using
Array_move function the control box also changing the target here is a video what is happening
what i obeserved is when the target is set the target is set according to it's index in the dom . when i manipulate the objects array to change the position the e.target get the index of dom thus it's changing the controlbox position
Hello I'm using Vue-moveable on my project package : "vue": "^2.6.14", "vue-moveable": "^2.0.0-beta.40", "vuex": "^3.6.2"
I'm having trouble while changing the objects html position and the target is also getting changes when i set the target i use onClick setTarget = e.target ; the target is getting saved in VueX store; I'm getting the objects from store . the objects are array of objects and i'm just manipulating the array using
Array_move function the control box also changing the target here is a video what is happening
screen-capture (1).webm
what i obeserved is when the target is set the target is set according to it's index in the dom . when i manipulate the objects array to change the position the e.target get the index of dom thus it's changing the controlbox position