Closed ecme2 closed 2 years ago
Hi @ecme2, Thank you for the detailed report, including the reproduction steps. I was able to reproduce and check the behavior of the issue.
If selectedNodes
is declared as a ref and the whole array is replaced, the change was detected.
But, it was not detected in the change of array contents.
I have fixed it, please check v0.5.11.
Best Regards,
When programmatically modifying the v-model variable of selected-nodes, the focus ring doesn't show up.
Steps to reproduce:
v-model:selected-nodes="selectedNodes"
when defining v-network-graph in templateselectedNodes: []
in data() or as refthis.selectedNodes.splice(0, this.selectedNodes.length, node1, node2)
doesn't make focus ring appear for node1 and node2Note that selecting nodes via mouse cursor makes the focus ring appear as expected, and does change selectedNodes appropriately.