Skip to content

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

@jonbgamble jonbgamble merged commit 20bfb7c into lichess-org:master Sep 17, 2024
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