[Bug]: Chart shakes during resize

Author: artem-burasovCreated Dec 7, 2023Updated Jul 7, 2024
Labelsbug

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 resizing the chart, it periodically begins to tremble. This doesn't always happen, but you can catch this bug by chance often. Available during chart resize.

Example of a bug (plays at 18 seconds):

https://github.com/reactchartjs/react-chartjs-2/assets/47752247/079a12d3-3f38-4462-a787-2c5ae2777161

Reproduction

Sorry, no link

chart.js version

4.4.1

react-chartjs-2 version

5.2.0

Possible solution

No response

Source: reactchartjs/react-chartjs-2