]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Fix tooltip caret position when it is positioned at the corners (#9922)
authorJukka Kurkela <jukka.kurkela@gmail.com>
Mon, 29 Nov 2021 22:02:00 +0000 (00:02 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Nov 2021 22:02:00 +0000 (00:02 +0200)
commitf10fab65911ac73a0781d8a9fb3ea251e38e6734
treee069a7c4ee45974d79c6453acd91e438a59d6c75
parent93452501d15b004c447a24a3ff5a9e2bc33fc2e9
Fix tooltip caret position when it is positioned at the corners (#9922)

* Fix tooltip caret position when  at the corners

* Add test

Co-authored-by: Dirk Gausmann <di.gaus@gmx.de>
src/plugins/plugin.tooltip.js
test/fixtures/plugin.tooltip/caret-position.js [new file with mode: 0644]
test/fixtures/plugin.tooltip/caret-position.png [new file with mode: 0644]