Skip to content

useResizeHandler no longer works correctly #41

Closed
@swiperii

Description

@swiperii

After latest plotly.js update (1.34), plots with useResizeHandler prop are no longer resized with the surrounding div. They may still resize correctly when e.g. window size is changed.

See CodePen example

Seems to be related to the use of the Plotly.react method, since it still seems to work correctly when I use my own Plotly.react implementation.

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