Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip Positioning w.r.t. Mouse pointer #174

Open
VertikaJain opened this issue May 10, 2024 · 1 comment
Open

Tooltip Positioning w.r.t. Mouse pointer #174

VertikaJain opened this issue May 10, 2024 · 1 comment

Comments

@VertikaJain
Copy link

How can we place tooltip on top of mouse pointer? Right now, by default the tooltip is shown at the bottom of the mouse pointer. We are using Polygons related properties to create this.

Sharing a small snippet here.

globe-tooltip.mov
@vasturiano
Copy link
Owner

@VertikaJain that is somewhat outside of the scope of this package, but I suppose you can just use a css transform to translate the element to the position you'd like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants