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

Upgrade chart.js to fix crash on analysis #16071

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

trevorbayless
Copy link
Member

@trevorbayless trevorbayless commented Sep 16, 2024

Upgrades chart.js to 4.4.4 to fix a crash that can happen when rendering the analysis chart. To recreate the crash you need to request analysis or view a game that has already been analyzed (generally with a longer move list), resize the board while the analysis graph is rendering, and while resizing hover the mouse in the chart area.

This was a known issue with the tooltip positioner in chart.js which has been resolved in 4.4.4 here.

Tested change in local development instance and working as expected.

Video of issue in local dev instance

chartjs_tooltip_bug.mp4

@schlawg schlawg merged commit 20bfb7c into lichess-org:master Sep 17, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants