-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infinite renders with custom legend #2569
Comments
Have you found a solution to this problem? I'm having a similar issue and can't find information about it anywhere. If I find a solution, I'll post back here. |
hey @ZombieChowder11 we couldn't find a proper solution or workaround for this, we switched to Echarts since we are just trying out different libs for our CRM dashboard |
I'm going to try and escalate this to one of the supporters. Otherwise I'm gonna have to switch libraries as well. |
Describe/explain the bug
On using
forwardLegendData
withResponsivePie
for custom legend the component rerenders infinitely.To Reproduce
This is the codesandbox link for reproduction
https://codesandbox.io/p/devbox/objective-tree-h63wjz?file=%2Fsrc%2FApp.tsx
Expected behavior
according to https://github.com/plouc/nivo/blob/master/storybook/stories/pie/Pie.stories.tsx inside the
PieWithCustomLegend
function, it should work fine and render a table as per the storybookScreenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: