fix(core): use post flush to re-observe nodes after toggling visibility (#1517)
* fix(core): use `post` flush to re-observe nodes after toggling visibility * chore(changeset): add * chore(core): cleanup
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@vue-flow/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Use `post` flush timing to re-observe node size when toggling node visibility
|
||||||
@@ -173,7 +173,7 @@ const NodeWrapper = defineComponent({
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ immediate: true, flush: 'pre' },
|
{ immediate: true, flush: 'post' },
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user