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

groupNodes and elemens mismatch length #43

Open
TamimiGitHub opened this issue Feb 2, 2023 · 5 comments
Open

groupNodes and elemens mismatch length #43

TamimiGitHub opened this issue Feb 2, 2023 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@TamimiGitHub
Copy link

I am attempting to animate an excalidraw diagram however getting the following error in the console logs

animate.ts:661 Uncaught (in promise) Error: element length mismatch
    at animateSvg (animate.ts:661:1)
    at useLoadSvg.ts:74:1
    at async Promise.all (:3000/index 0)
    at async useLoadSvg.ts:65:1
    at async useLoadSvg.ts:98:1

Upon further investigating, I realized that animate.ts throws an error for this.

Here is a link to my exaclidraw diagram https://excalidraw.com/#json=-9jiwl8sky-JV5f6tys9A,u1j_Dzj5lOyKBj25-MEpMA

@dai-shi
Copy link
Owner

dai-shi commented Feb 3, 2023

Thanks for reporting.

I think we should update excalidraw package and if the problem persists, fix it.

@dangehub
Copy link

dangehub commented Sep 4, 2024

2024-09-04 I meet the same problem

@dai-shi dai-shi added the help wanted Extra attention is needed label Sep 4, 2024
@dai-shi
Copy link
Owner

dai-shi commented Sep 4, 2024

I wonder if @kei95 would be interested in it.

@kei95
Copy link
Contributor

kei95 commented Sep 5, 2024

Hmm it doesn't look like that I can reproduce this with the given drawing from @TamimiGitHub. @dangehub is there any chance that you could provide us your drawing with the issue so that I can look into it?

Screenshot 2024-09-05 at 5 16 16 PM

@dangehub
Copy link

dangehub commented Sep 5, 2024

Hmm it doesn't look like that I can reproduce this with the given drawing from @TamimiGitHub. @dangehub is there any chance that you could provide us your drawing with the issue so that I can look into it?

Screenshot 2024-09-05 at 5 16 16 PM

Of course, I'd love to. I used obsidian's excalidraw plugin (2.4.1) to export it, and I can open it with the official excalidraw web.

Drawing 2024-09-04 16.48.49.excalidraw.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants