Skip to content

plotly_afterplot Event isn't triggered on pan/zoom #2740

Closed
@JosephHewitt

Description

@JosephHewitt

In previous versions of Plotly.js (1.35.2 works) I would use the plotly_afterplot event to detect when a user had panned the graph, but this event is no longer being called when the user pans or zooms.

The issue can be reproduced using your plotly_afterplot example on Codepen. The event only seems to be called when the plot is first drawn and when the axes are reset. I've tested this on the latest version of both Chrome and Safari on MacOS; neither of which have events called from simply panning or zooming the plot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething brokenregressionthis used to work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions