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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expected number > undefined #75

Open
Moonflakes opened this issue Dec 9, 2020 · 1 comment
Open

Expected number > undefined #75

Moonflakes opened this issue Dec 9, 2020 · 1 comment

Comments

@Moonflakes
Copy link

Hello,
I have multiple expected number errors for path and g in the console :

Error: <path> attribute d: Expected number, "M undefined,undefi…".
Error: <g> attribute transform: Expected number, "translate( NaN,NaN ) rotate…".

Do you know what is this due to ?
(data is in the right format)

@KUGDev
Copy link

KUGDev commented Jan 27, 2022

Hi
I've made some initial investigation and found out that it is somehow related to the 'updateIfNeeded' function in /src/Tree.vue.
Not sure what is the cause, but when I tried to use 'collapseAll' on my tree in 'mounted' section, for the first time after a window reload it was causing an error in the console, but the next time I open the tree, everything is ok with it. When I added 'update = false' to 'collapseAll' function, the issue had gone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants