Skip to content

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

Merged
deepaksharma33 merged 2 commits into
masterfrom
fix-tooltip-position
May 21, 2021
Merged

Fix Tool-tip position in Firefox for pie charts#5
deepaksharma33 merged 2 commits into
masterfrom
fix-tooltip-position

Conversation

@vikas-0

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

Copy link
Copy Markdown

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
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.

3 participants