Chart.js/test
Josh Kelley 429d99dbc2
Tooltip fixes (getLabelAndValue on null controller, null getParsed) (#11596)
* Fix for getLabelAndValue on null controller

I encountered #11315 under the following circumstances:

1. Position the cursor over the chart area, such that it causes a
   tooltip to be shown.
2. Move the cursor out of the chart area, such that the tooltip remains
   visible.
3. Cause the chart contents to be changed, such that the dataset
   referenced by the active tooltip element is no longer valid.
4. Move the mouse again.  This triggers an `inChartArea = false` event,
   so it reuses the previous, now invalid, active elements.

This fixes #11315 under the circumstances for which I've reproduced it,
but there may be others.

* Further fixes for elements added / changed

This possibly fixes #11365.
2023-11-29 14:51:56 -05:00
..
fixtures Fix backdrop padding (#11577) 2023-11-10 00:25:36 +01:00
integration fix: hotfix chart.js/auto for commonjs (#10992) 2022-12-16 07:53:27 -05:00
specs Tooltip fixes (getLabelAndValue on null controller, null getParsed) (#11596) 2023-11-29 14:51:56 -05:00
types Revert feature to disable plugins by TS (#11422) 2023-07-26 08:59:42 -04: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