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

Quadtree: Maximum call stack size exceeded #24

Closed
MarceloPrado opened this issue Aug 20, 2020 · 2 comments · Fixed by #37
Closed

Quadtree: Maximum call stack size exceeded #24

MarceloPrado opened this issue Aug 20, 2020 · 2 comments · Fixed by #37

Comments

@MarceloPrado
Copy link

Hi @Rich-Harris , good night!
First of all, thank you for all your work on Svelte. It's a fantastic outside-of-the-box approach to front-end development.

I'm trying to use pancake as our main charts provider and I might have found a small issue with Quadtree. I'm trying to build a similar example to your Example 2 but I'm getting the error below whenever the chart is hovered:

Uncaught (in promise) RangeError: Maximum call stack size exceeded

I took a look at utils/Quadtree.mjs to see if there were any recent changes that might have caused the issue but I couldn't tell.

Would you mind giving me a hint on what could be wrong? If it's a bug, I would love to help, just need a brief direction.

I created a reproduction, using the same code of the website. You just need to open the Console and hover on the cart.

Thanks again,
Marcelo

@mattiash
Copy link

This is the probably the same as issue #23

@MarceloPrado
Copy link
Author

@mattiash indeed. I wasn't sure because I just looked at the Quadtree component, but from the error description, it does look like the same thing.

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