Skip to content

Animation numsteps wrong value #8613

@LeeLenaleee

Description

@LeeLenaleee

Expected Behavior

The numsteps should be the duration of that animation and not the global one

Current Behavior

the short tooltip animation works but the onProgress callback in the animation block for the options reports back the main long duration.

V2 (correct behaviour): https://www.chartjs.org/samples/latest/advanced/progress-bar.html
V3 (wrong behaviour): https://www.chartjs.org/samples/master/advanced/progress-bar.html

Context

Found this through another issue

Environment

  • Chart.js version: 3.0.0-beta.13 master
  • Browser name and version: Chrome Versie 88.0.4324.190 (Officiële build) (64-bits)
  • Link to your project:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions