antvis / antvis/F2

Tooltip triggerOn "mousemove" not working on releases >= 3.6.1

Open
#1,144 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
637
PR merge metrics
No merged PRs in 30d

Description

- [x] I have searched the [issues](https://github.com/antvis/f2/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/jolly-joliot-60hrv)

### Steps to reproduce
Change the @antv/f2 version to 3.4.4 and the tooltip for "mousemove" events are working (https://codesandbox.io/s/funny-minsky-s96iq).

| Environment | Info |
|---|---|
| f2 | 3.8.1 |
| System | Ubuntu |
| Browser | Chrome Version 88.0.4324.182 (Official Build) (64-bit) |

---
I played around with the F2 library and used https://antv.gitbook.io/f2/ as reference. An older version from a CDN was in one of the examples and the mousemove event worked fine. When I wanted to implement F2 into a project I imported the latest version and mousemove events stopped working. I understand that F2 is meant for mobile, would still be great to have mousemove events for webapps that server desktop and mobile users.

Contributor guide

Open the contributing guide

Research direction

Reproduce the tooltip behavior in the linked CodeSandbox examples, comparing F2 3.4.4 with 3.8.1 and the reported mousemove trigger. Start by tracing the tooltip event handling and changes between those releases. Done means mousemove tooltips work for desktop webapps without regressing mobile behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.