nivo icon indicating copy to clipboard operation
nivo copied to clipboard

Bar/BarCanvas tooltip positioned incorrectly

Open mitoihs opened this issue 2 years ago • 1 comments

The image says more than a thousand words: tooLongTooltip The tooltip on Bar/BarCanvas charts (at least those) is always displayed above the cursor. If it's too long, it makes its container grow (horizontal scrollbar appears/gets wider). The same behavior is observed for the vertical dimension, but it's less common for tooltips to "spill" in that way.

Could it please behave like for Line/LineCanvas charts? In those charts, the tooltip is positioned to the cursor's left or right.

Also, I would be able to fix it locally in my custom tooltip if I could control Tooltip's container (or at least its position), but now I have control only over its content.

mitoihs avatar Aug 24 '22 09:08 mitoihs

Workarounds discussed in #580

studiosciences avatar Aug 29 '22 14:08 studiosciences

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

stale[bot] avatar Dec 16 '22 01:12 stale[bot]

bump

mitoihs avatar Dec 19 '22 09:12 mitoihs

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

stale[bot] avatar Dec 26 '22 09:12 stale[bot]