Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]:Chart display & scaling #1212

Open
1 task
clinton-mwachia opened this issue May 20, 2024 · 1 comment
Open
1 task

[Bug]:Chart display & scaling #1212

clinton-mwachia opened this issue May 20, 2024 · 1 comment
Labels

Comments

@clinton-mwachia
Copy link

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

  • The chart get extremely small when changing screen size, you have to reload the page for a good display.
  • The graph disappears when you move to a different tab, and then come back to the tab where the graph is. The same issue is also observed in the docs

Reproduction

https://react-chartjs-2.js.org/examples/vertical-bar-chart

chart.js version

v4.4.3

react-chartjs-2 version

v5.2.0

Possible solution

No response

@clinton-mwachia clinton-mwachia changed the title Chart display & scaling [Bug]:Chart display & scaling May 20, 2024
@hrachqyutukyan
Copy link

hrachqyutukyan commented May 24, 2024

I think this is the chromium issue. Canvas part disappears when changing tabs. In old chrome versions it works fine.

Update: on 125.0.6422.77 version issue is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants