You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug was fixed in Firefox v126, but the misaligned tooltips / brushes are still a problem when they are used inside a translated svg element. See this example, where I shifted the brush 100 pixels to the right. In Chrome, it works as expected, in Firefox it seems to take the outermost svg element as reference.
Hi there.
It seems like in Firefox
svg.screenCTM()
result is a bit different compared to other browsers (Safari, Chrome). More about this here https://bugzilla.mozilla.org/show_bug.cgi?id=1610093Since
@visx/event
uses this API to calculate svg point positionvisx/packages/visx-event/src/localPointGeneric.ts
Lines 12 to 25 in d5fb82e
This all leads us to the case when we translate our chart we get a bad tooltip and cursor line position.
The text was updated successfully, but these errors were encountered: