Vue props not persisting update

adam_cyclones profile image Adam Crockett ・1 min read

So I'm working on a node editor that allows you to do multiple selection and multiple move.

I have spent hours on this trivial problem with no joy.

Steps to recreate issue

  • shift click two nodes
  • move one node, (see two nodes move 👌)
  • do the move again

You will see the node that was 'parented' by the move just snaps back to it's original props rather than remembering it's position?!

Files of interest

  • Boundary.vue (parent)
  • Node.vue (v-for children)



Editor guide