Rich-Harris / pancake

Experimental charting library for Svelte

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quadtree: Maximum call stack size exceeded

MarceloPrado opened this issue · comments

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

This is the probably the same as issue #23

@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.