Skip to content
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

Open
ManishBisht777 opened this issue Apr 25, 2024 · 0 comments
Open

Infinite renders with custom legend #2569

ManishBisht777 opened this issue Apr 25, 2024 · 0 comments

Comments

@ManishBisht777
Copy link

Describe/explain the bug
On using forwardLegendData with ResponsivePie 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 storybook

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome
  • Version: 0.85.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant