DEV Community

Adam Crockett ๐ŸŒ€
Adam Crockett ๐ŸŒ€

Posted on

Vue props not persisting update

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)

https://0g7eu.csb.app/

Top comments (0)