Skip to content

Changing className on container breaks subsequent redraws #916

Closed
@benjeffery

Description

@benjeffery

Hi,
Had a quick search and can't see any mention of this.
See fiddle here: https://jsfiddle.net/b1jLzqs1/2/
The plot should redraw three times - but only does so twice.
If one removes the line that modifies the container's className between redraws, then the redraw is successful.
Initial report: benjeffery/react-plotlyjs#10
Thanks!

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