Skip to content

[Bug]: Animations sporadically not working #1121

@ajuvonen

Description

@ajuvonen

Would you like to work on a fix?

  • Check this if you would like to implement a PR, we are more than happy to help you go through the process.

Current and expected behavior

When a chart is created, it should be animated by default unless animations are disabled in the chart config. However, animations are sometimes not working out of the box. This occurs in the default sandbox on both Firefox and Chrome. In my own project, some charts animate and some don't, and I can't seem to pinpoint the issue.

I understand this might fall under the umbrella of "chart rendering issue", but I still wanted to open an issue about it for discussion, if this is a Vue- or Vue-chartjs -specific matter.

Reproduction

https://stackblitz.com/github/apertureless/vue-chartjs/tree/main/sandboxes/bar

chart.js version

4.5.1

vue-chartjs version

5.3.3

Possible solution

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions