Skip to content

Error when data is updated during selection #2382

Closed
@swiperii

Description

@swiperii

When trace data is updated while dragging selection box, the plot temporarily becomes empty and console logs the following error:
Error while plotting: undefined

See CodePen example (Click Add data, then use box select, drag and hold while a new data point is added)

Since I am using plotly-react.js, I guess this might be related to the new Plotly.react method (and it not taking into account graphDiv._dragging perhaps?).

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