fix(core): only use visible nodes to check if nodes are initialized

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-03-24 21:31:24 +01:00
committed by Braks
parent 97914486db
commit c330686833
@@ -9,7 +9,6 @@ const {
nodesFocusable,
elementsSelectable,
nodesConnectable,
nodes,
getNodes,
getNodesInitialized,
getNodeTypes,
@@ -19,7 +18,7 @@ const {
let resizeObserver = $ref<ResizeObserver>()
until(() => nodes.length > 0 && getNodesInitialized.length === nodes.length)
until(() => getNodes.length > 0 && getNodesInitialized.length === getNodes.length)
.toBe(true)
.then(() => {
nextTick(() => {