fromObject zooms in after it's called #1582
Unanswered
guminlianren
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I called fromObject :The parameters are correct
viewport{
"x": 921.5,
"y": 535.5,
"zoom": 1
},"zoom": 1
is not configured with fit-view-on-init. I tried await fromObject and called onInit((vueFlowInstance) => {
vueFlowInstance.fitView();
});
Beta Was this translation helpful? Give feedback.
All reactions