fix(core): remove v-memo from edge renderer (#1506)

* fix(core): remove v-memo from edge renderer

* chore(changeset): add
This commit is contained in:
Braks
2024-06-28 17:11:06 +02:00
parent 545bb4edf5
commit a52ac6e90e
2 changed files with 5 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@vue-flow/core": patch
---
Remove `v-memo` from EdgeRenderer so that edges get their correct z-index applied

View File

@@ -21,7 +21,6 @@ export default {
<svg
v-for="edge of getEdges"
:key="edge.id"
v-memo="[edge.id]"
class="vue-flow__edges vue-flow__container"
:style="{ zIndex: getEdgeZIndex(edge, findNode, elevateEdgesOnSelect) }"
>