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

dataset tooltip now shows correctly #8024

Merged
merged 2 commits into from
Nov 8, 2020
Merged

dataset tooltip now shows correctly #8024

merged 2 commits into from
Nov 8, 2020

Conversation

LeeLenaleee
Copy link
Collaborator

Fixed #7990
Tooltip for dataset mode now gets displayed correctly

Example of the tooltips sample page with the new code: https://codepen.io/leelenaleee/pen/KKMxbLK

Copy link
Member

@kurkle kurkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't use draft features (optional chaining), because not all environments support those.

@LeeLenaleee
Copy link
Collaborator Author

Changed the optional chaining to a normal check if the prop is defined

@etimberg etimberg added this to the Version 3.0 milestone Nov 8, 2020
@etimberg etimberg merged commit c3e861d into chartjs:master Nov 8, 2020
@LeeLenaleee LeeLenaleee deleted the fix/datasetTooltip branch November 8, 2020 20:53
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.

Tooltips with dataset mode are not correctly shown
3 participants