You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by beibean August 25, 2021
Hi there,
I am using a touchscreen on a embedded device and after migrating from v2.9.4 to v3.5.1 I am not able to show tooltip as used to show it before.
I only need to show tooltip when user touches any part of the graph. We detect touches with pointerdown and pointerup events. After the library upgrade only the point is hover but the tooltip won't show:
kurkle
changed the title
How to show tooltip within touchscreen?
Plugin event filters receive normalized event type and fail when normalization occurs
Aug 26, 2021
Discussed in #9580
Originally posted by beibean August 25, 2021
Hi there,
I am using a touchscreen on a embedded device and after migrating from v2.9.4 to v3.5.1 I am not able to show tooltip as used to show it before.
I only need to show tooltip when user touches any part of the graph. We detect touches with pointerdown and pointerup events. After the library upgrade only the point is hover but the tooltip won't show:
Here is a project to reproduce it.
Any new configuration I overlooked or any suggestion to fix this?
Description
This originates from #8876
The event type is changed here:
Chart.js/src/platform/platform.dom.js
Line 106 in fca0309
Original types are used to filter and it does not match.
This can be worked around by adding the normalized events:
events: ['mousedown', 'mouseup']
tooptions.plugins.tooltip
The text was updated successfully, but these errors were encountered: