Skip to content

Conversation

@mProjectsCode
Copy link

I changed the code for HTMLTooltip and Pointer to not use the nonstandard layerX and layerY. Instead, the code now uses clientX and clientY and calculates the relative position via plot.body.getBoundingClientRect(). This fixes #129

@netlify
Copy link

netlify bot commented Aug 27, 2025

Deploy Preview for svelteplot ready!

Name Link
🔨 Latest commit dd97247
🔍 Latest deploy log https://app.netlify.com/projects/svelteplot/deploys/68af1a8ab940e50008b44614
😎 Deploy Preview https://deploy-preview-148--svelteplot.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mProjectsCode
Copy link
Author

Also, I was surprised how many type errors my VSCode was highlighting in existing code 😅
Not sure if I messed up my TS setup somehow

@gka
Copy link
Contributor

gka commented Sep 5, 2025

Thanks a lot for this! Due to a merge conflict I re-applied your fix in #150.

@gka gka closed this Sep 5, 2025
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

Successfully merging this pull request may close these issues.

[BUG] Tooltips are flickery on Firefox

2 participants