Chart.js/test
Guy B 9306d7fd49
fix: avoid resize loop when browser zoom is set to 90% (#10971)
* test: new test to reproduce issue #10951

* test:  validate the canvas style too

* fix: Avoid reassigning the the chart size. For specific values of pixelRatio the assignment would cause the size to reduce by 1px. Since it's called from the ResizeObserver it will be stuck in a loop that constantly reduce the size of the chart and canvas.

* Revert "fix: Avoid reassigning the the chart size. For specific values of pixelRatio the assignment would cause the size to reduce by 1px. Since it's called from the ResizeObserver it will be stuck in a loop that constantly reduce the size of the chart and canvas."

This reverts commit ed7a34814d.

* fix: Avoid the resize loop by fixing the rounding error in the retinaScale function.

* fix: getMaximumSize was flooring non-integer height values unnecessarily.

* Revert "fix: Avoid the resize loop by fixing the rounding error in the retinaScale function."

This reverts commit 23525abc6a.

* fix: Avoid the resize loop by fixing the rounding error in the retinaScale function.
2022-12-17 09:41:21 -05:00
..
fixtures Allow dynamic datasets to be colored (#10964) 2022-12-14 21:43:41 +01:00
integration fix: hotfix chart.js/auto for commonjs (#10992) 2022-12-16 07:53:27 -05:00
specs fix: avoid resize loop when browser zoom is set to 90% (#10971) 2022-12-17 09:41:21 -05:00
types fix: move types to src dir to escape src / dist dirs in paths (#10993) 2022-12-16 07:56:06 -05:00
.eslintrc.yml Loosen the max-statements lint rule for tests (#8638) 2021-03-14 11:07:39 -04:00
BasicChartWebWorker.js feat: add ESM support (#10525) 2022-08-04 18:43:26 -04:00
index.js Introduce Colors plugin (#10764) 2022-10-21 08:21:08 -04:00
seed-reporter.cjs feat: add ESM support (#10525) 2022-08-04 18:43:26 -04:00