Skip to content

scrollZoom performance issues introduced in 2.3.0 #5912

Closed
@secretwpn

Description

@secretwpn

There is a significant performance drop when using scroll zoom in version 2.3.0 and newer
Latest version with better performance is 2.2.1

Demo: https://codesandbox.io/s/plotly2-performance-drop-iinx5

Steps to reproduce:

  • open the demo, try scrolling in/out to change the zoom level
  • change the plotly.js-dist dependency version (in the dependencies section of the toolbar on the left) from 2.3.0 to 2.2.1 and test the scroll zoom again

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