Closed
Description
isZoomedOrPanned incorrectly returns true when a chart is first rendered, before the chartjs-plugin-zoom plugin does anything.
Steps to reproduce: See https://codesandbox.io/s/is-zoomed-xo90ep.
- Click the "Check zoom" button and note that it incorrectly reports true.
- Click and drag somewhere on the chart. This invokes the chartjs-plugin-zoom plugin by trying to do a pan operation, but nothing happens, because the chart is already at its limits.
- Click the "Check zoom" button and note that it correctly reports false.