Skip to content

Graph gets stuck in render loop #739

@arawinters

Description

@arawinters

Describe the bug
The first time you load an entity detail component the embedded graph renders once. If you change the entityId for the component without destroying the component the graph requests updated data, renders, and then continously loops through that same flow. The only obvious side effect is the tooltips will stack.

Screenshots

Image

Additional context
I found the source of the issue. Something is setting the graph pref "matchKeysIncluded" to an empty array, which then triggers an "onPrefsChange" event, in that handler it re-renders if one of the prefs that was changed was one that would require the graph to be re-rendered.

Sub-issues

Metadata

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