Open ImLunaHey opened 1 month ago
Describe/explain the bug Tooltips within pie charts (others too maybe?) will always have an animation as the tooltip's wrapper is animated.
demo with default tooltip:
custom tooltip:
To Reproduce https://nivo.rocks/pie/canvas
Steps to reproduce the behavior:
Expected behavior Either animate={false} needs to be added to PieChart or tooltips need a way to opt out of having a wrapper.
animate={false}
PieChart
for anyone looking for a workaround, if you dont use react-spring for anything else you can globally disable animations.
import { Globals } from 'react-spring'; Globals.assign({ skipAnimation: true, });
Describe/explain the bug Tooltips within pie charts (others too maybe?) will always have an animation as the tooltip's wrapper is animated.
demo with default tooltip:
custom tooltip:
To Reproduce https://nivo.rocks/pie/canvas
Steps to reproduce the behavior:
Expected behavior Either
animate={false}
needs to be added toPieChart
or tooltips need a way to opt out of having a wrapper.