Skip to content

Attempt fixing charts shrinking on certain zoom values in Chrome #12097

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

Merged
merged 1 commit into from
Jul 11, 2025

Conversation

bojidar-bg
Copy link
Contributor

This is an attempt at fixing #11224 and possibly #12076.
I managed to reproduce the issue with the steps from #11224 on Chromium 138 on Linux, but it is very sensitive to screen width so I'm not sure if I caught all cases. At any rate, with the submitted fix, I'm no longer able to reproduce the issue myself.

Would appreciate if someone with Chrome on Windows could try reproducing the issue with the steps from #12076 (comment) and this PR.

@bojidar-bg bojidar-bg force-pushed the 11224-shrinking-charts branch from e40ea53 to 1c42603 Compare July 11, 2025 10:54
@LeeLenaleee LeeLenaleee added this to the Version 4.5.1 milestone Jul 11, 2025
@LeeLenaleee LeeLenaleee merged commit 5feebdf into chartjs:master Jul 11, 2025
7 checks passed
@LeeLenaleee LeeLenaleee changed the title Attempt fixing charts shinking on certain zoom values in Chrome Attempt fixing charts shrinking on certain zoom values in Chrome Jul 11, 2025
@LeeLenaleee LeeLenaleee linked an issue Jul 11, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chart keeps on shrinking uncontrollably
3 participants