Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix Tool-tip position in Firefox for pie charts #5

Merged
merged 2 commits into from
May 21, 2021

Conversation

vikas-0
Copy link

@vikas-0 vikas-0 commented May 21, 2021

This issue is due to a firefox/d3 bug.
When the transform is applied on the parent card, d3.mouse function doesn't return the correct value in firefox.

https://bugzilla.mozilla.org/show_bug.cgi?id=1610093

This solution has been based on some workaround suggested here.
d3/d3-selection#81
and d3/d3-selection#191

Basically, function tooltipPosition overridden by the copy of the same function with minor change for firefox useragent.

@deepaksharma33 deepaksharma33 merged commit dfc7ac7 into master May 21, 2021
@vikas-0 vikas-0 deleted the fix-tooltip-position branch May 21, 2021 13:44
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants