antvis / antvis/G2

多view场景tooltip crosshairs展示不全

Open
#6,275 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
12.6k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

多view场景tooltip crosshairs展示不全,第一个view展示了,第二个没展示
![image](https://github.com/antvis/G2/assets/21350840/d3f401ec-9ab8-49aa-acb7-79b5be53b30c)

### 重现链接

https://codesandbox.io/p/sandbox/dazzling-jennings-kqpg6m?file=%2Findex.ts

### 重现步骤

1.进入页面
2.hover展示 tooltip

### 预期行为

希望多view情况下crosshairs正常展示

### 平台

- 操作系统: [macOS]
- 网页浏览器: [Google Chrome]

### 屏幕截图或视频(可选)

![image](https://github.com/antvis/G2/assets/21350840/30853a41-2893-481f-a299-a3e1c7a7b99b)

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked CodeSandbox reproduction in index.ts and run the multi-view chart in Chrome. Hover to reproduce the tooltip, compare crosshair rendering between the first and second views, and trace the relevant interaction or tooltip entry point. Done means crosshairs display correctly for every view.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.