Replies: 1 comment 3 replies
-
You could filter the events passed to tooltip. For example: options: {
plugins: {
tooltip: {
events: ['mousedown', 'mousemove', 'mouseup']
}
}
} |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, I have upgraded chart.js from 2.x to 3.4.1 for my Ionic app.
Currently, I am unable to show the tooltip when the mouse (pointer) leaves the canvas during mousemove. It only reappears when the mouse reenters the canvas. This happens after the version upgrade.
Is there anyway to keep the tooltip active even when the mouse leaves the canvas (as long as no mouseup occurred)? This is because the canvas is pretty small, and users should be able to see the tooltip as long as they press and move anywhere on the screen.
Any guides would be very much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions