reactchartjs/react-chartjs-2

[Bug]: Unnecessary whitespace in tooltip visible only in Firefox on Windows

Adys23 opened this issue · 0 comments

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

Firefox on Windows:
Zrzut ekranu 2023-06-27 124650

Firefox on MacOS / Chrome on MacOS / Chrome on Windows:
Zrzut ekranu 2023-06-27 124715

Tooltip should be displayed in the same way regardless of OS and browser.

Reproduction

https://codesandbox.io/p/sandbox/kind-mahavira-dgv84q?welcome=true

chart.js version

v4.3.0

react-chartjs-2 version

v5.2.0

Possible solution

No response