chartjs / chartjs/Chart.js

Bug : The event listeners like onMouseLeave, onMouseEnter and onScroll aren't working as expected on tooltip plugins.

Open
#12,006 0 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

### Expected behavior

The Tooltip that we have customised is not working as expected when hover in and of the graphs.

### Current behavior

The tooltips are visible even though after getting out of graph and moving out to a new screen.

### Reproducible sample

![Image](https://github.com/user-attachments/assets/09cc3c10-0cd1-46c9-97df-8e97c015cad6)

### Optional extra steps/info to reproduce

_No response_

### Possible solution

_No response_

### Context

_No response_

### chart.js version

v5.2.0

### Browser name and version

_No response_

### Link to your project

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.