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

  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


Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests