Skip to content

Document tooltip draw hooks and only call hooks when the tooltip draws#10276

Merged
etimberg merged 2 commits into
chartjs:masterfrom
etimberg:tooltip-draw-hooks-documentation
Apr 3, 2022
Merged

Document tooltip draw hooks and only call hooks when the tooltip draws#10276
etimberg merged 2 commits into
chartjs:masterfrom
etimberg:tooltip-draw-hooks-documentation

Conversation

@etimberg

@etimberg etimberg commented Apr 2, 2022

Copy link
Copy Markdown
Member

Resolves #10002

Not sure if this counts as a breaking change or not for the plugin.tooltip.js changes.

@LeeLenaleee

Copy link
Copy Markdown
Collaborator

Technically it will be breaking since it can alter custom code that relied on it being fired every render cycle.

But I think it should be considered a bug fix instead of a breaking change since in its current form for most usecasses if you want to use it you can't use it.

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.

Tooltip before and after draw hooks not documented and weird behaviour

3 participants