antvis / antvis/G6

Tooltip positioning is incorrect

Open
#5,677 0 comments 1 reaction 1 assignee Claimed by @hustcc View on GitHub
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

The position of the tooltip is incorrect when the canvas position is not in the upper left corner

image

### Your Example Website or App

none

### Steps to Reproduce the Bug or Issue

1. Config the tooltip plugin
2. Config the position of container of the graph
3. Pointer move on a node

### Expected behavior

The tooltip should close to the node where point is

### Screenshots or Videos

_No response_

### Platform

- OS: macOS
- Browser: Chrome

### Additional context

_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.