Open kariwhitcomb opened 5 months ago
So basically position: fixed
works for tooltips which CSS styles are applied by CSS className, not style
attribute?
Maybe your style
overrides the one which should be applied by nivo
?
Seems related to https://github.com/plouc/nivo/pull/2480, the tooltip is there, but its opacity remains 0
.
Can confirm this has broken our tooltips. They render but stick at opacity: 0
If any styling is applied at all, whether that is className
or style
it will never toggle to opacity: 1
This is still happening. Please fix.
This issue is preventing us from picking up new versions of nivo
Describe/explain the bug A clear and concise description of what the bug is.
When we upgraded to @nivo/bar 0.85.1 the custom tooltips we use on our bar charts stopped appearing
To Reproduce https://codesandbox.io/p/sandbox/pedantic-keldysh-tfvysn
Steps to reproduce the behavior:
Expected behavior
Both charts should show the tooltip.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here. The only change I can figure might have changed this behavior in 0.85.1 is https://github.com/plouc/nivo/pull/2480/files, but I don't understand why