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 · 3 comments
Open

Infinite renders with custom legend #2569

ManishBisht777 opened this issue Apr 25, 2024 · 3 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
@ZombieChowder11
Copy link

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.

@ManishBisht777
Copy link
Author

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

@ZombieChowder11
Copy link

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.
@ManishBisht777 Thanks for replying tho'

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

2 participants