Skip to content

Ticks disappear when updating width or height #224

Closed
@rgosse

Description

@rgosse

See this codesandbox

When I click on one of the buttons to resize the grid, I trigger a rerender of the plot. The changes are reflected but it has the side effect of making the ticks on the x-axis disappear.

plotresize

I created this issue here because I could not reproduce solely using plotly.js, see my attempt here.

Interestingly, adding key={Math.random()} fixes the issue 💩

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