antvis/G6
Do you want to work on this issue?
You can request for a bounty in order to promote it!
Tooltip positioning is incorrect #5677
Aarebecca posted onGitHub
Describe the bug
The position of the tooltip is incorrect when the canvas position is not in the upper left corner
<img width="356" alt="image" src="https://github.com/antvis/G6/assets/25787943/0f904383-93e3-47c2-8305-414fabcff977">
Your Example Website or App
none
Steps to Reproduce the Bug or Issue
- Config the tooltip plugin
- Config the position of container of the graph
- 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