Visx: TooltipWithBounds bug

Created on 23 Jul 2020  ·  5Comments  ·  Source: airbnb/visx

I think in TooltipWithBounds the line unstyled={unstyled} should be deleted because we checking styles in the style property
image

With that line if I use unstyled TooltipWithBounds no position will be set because inside ToolTip no styles will be set at all because they should be taken from TooltipWithBounds.

https://github.com/hshoff/vx/blob/8ede587c3cc47d56736bc58f99e3d8a94a1e0850/packages/vx-tooltip/src/tooltips/TooltipWithBounds.tsx#L53

🐛bug 🐣 beginner friendly 👋help wanted

All 5 comments

@terpimost sorry for the delay, agree this is likely a bug! would happily review a PR 😁

Hey @williaster may I remove the line? I'm new to open-source and I think I can do this!

@singhanurag05 go ahead and remove the line

Hi @terpimost can you please check PR #828 I did it.

Its not up to me to check PRs in that repo, lets wait.

On October 1, 2020, Gary Kahn notifications@github.com wrote:

Hi @terpimost https://github.com/terpimost can you please check PR

828 https://github.com/airbnb/visx/pull/828 I did it.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/airbnb/visx/issues/767#issuecomment-702187264, or

unsubscribe auth/AAOQVTJ5HYOUZSFPMBDTGB3SISJCVANCNFSM4PFG73HA>.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rd-dev-ukraine picture rd-dev-ukraine  ·  37Comments

hshoff picture hshoff  ·  12Comments

neb42 picture neb42  ·  6Comments

Miz85 picture Miz85  ·  6Comments

AJK92 picture AJK92  ·  5Comments