Skip to content

Using the responsive option cause an Internal Error: too much recursion #125

Open
@cyrilf

Description

As soon as I add a responsive property in the config object, any update to the config will trigger a "too much recursion" error.

I found a similar report on StackOverflow

Reproduction

I created a simple bug reproduction there.

1️⃣ Once loaded, go to page A. You should see the chart.
2️⃣ Click on "back" home.
3️⃣ Go to page B. You don't see the chart.

In the console you should see the error: Uncaught (in promise) InternalError: too much recursion.
If you click on "back" home, you won't be able to.. and the console display the error: Uncaught (in promise) TypeError: this.w.globals.dom.Paper is undefined.

Refreshing the page solves the issue, but this is not the intended behavior.

If we don't set the responsive property on the config, then, none of those error would happen.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions