Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 [BUG]: Fit control throws an unhandled error #1168

Closed
1 task done
binarytide opened this issue Nov 5, 2023 · 1 comment
Closed
1 task done

馃悰 [BUG]: Fit control throws an unhandled error #1168

binarytide opened this issue Nov 5, 2023 · 1 comment
Assignees
Labels
bug Something isn't working triage Awaiting triage

Comments

@binarytide
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and this is a new bug.

Current Behavior

adding Controls and clicking fit button produces an unhandled error

Expected Behavior

expectation is that it fits nodes in view

Steps To Reproduce

1: create a simple vue flow component and include controls
2: click fit

Relevant log output

runtime-core.esm-bundler.js:221 Uncaught TypeError: C is not a function
    at x (vue-flow-controls.mjs:95:7)
    at callWithErrorHandling (runtime-core.esm-bundler.js:158:18)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js:166:17)
    at HTMLButtonElement.invoker (runtime-dom.esm-bundler.js:595:5)

Anything else?

seems like the lock button also isn't doing anything but that doesn't throw anything in the console

@binarytide binarytide added bug Something isn't working triage Awaiting triage labels Nov 5, 2023
@binarytide
Copy link
Author

turns out I had passed fitView as a param to useVueFlow for some reason. removing that solved the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Awaiting triage
Projects
None yet
Development

No branches or pull requests

2 participants