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

Adjust legend hitboxes when RTL and each item has a different size #9353

Merged
merged 2 commits into from Jul 10, 2021

Conversation

etimberg
Copy link
Member

@etimberg etimberg commented Jul 5, 2021

Solution from @danielgindi

Resolves #9324

each item has a different size
@etimberg etimberg added this to the Version 3.5.0 milestone Jul 5, 2021
@kurkle
Copy link
Member

kurkle commented Jul 5, 2021

A regression test would be good for the v4 refactor.
Edit: not sure if there is a good way to write such a test without including internals, which would invalidates the point.

kurkle
kurkle previously approved these changes Jul 5, 2021
@etimberg
Copy link
Member Author

etimberg commented Jul 5, 2021

This evening I can add a test that uses a custom plugin to draw the legend hitboxes so we can see them align with the items, but it would depend on some of the internals

@etimberg etimberg merged commit 27b91b7 into chartjs:master Jul 10, 2021
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.

Rtl regresssions in v3 - The sequel
2 participants