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

LineChart / LineChartPro "grid" and GridChart - 'log' axes & zoom cause warnings and grid breakdown due to non-unique child keys #15853

Open
qwyble opened this issue Dec 11, 2024 · 0 comments
Labels
bug 🐛 Something doesn't work component: charts This is the name of the generic UI component, not the React module! status: waiting for maintainer These issues haven't been looked at yet by a maintainer

Comments

@qwyble
Copy link

qwyble commented Dec 11, 2024

Steps to reproduce

Steps:

  1. Open this link to live example: https://codesandbox.io/p/sandbox/fast-cloud-pwx7wp
  2. Open preview console
  3. Observe warnings
  4. Usage with 'zoom' for LineChartPro results in grid breakdown due to this issue.

Current behavior

Console sprays warnings.

Screenshot 2024-12-11 at 10 50 15 AM

Using 'zoom' parameters in LineChartPro causes complete grid breakdown due to this same issue.

Expected behavior

Console should not spray warnings, child elements should have unique keys.
Zoom should not break the grid.

Context

This occurs when using 'log' axes and when modifying axes using zoom parameters, likely due to ticks being used to provide keys to the grid.

Your environment

ENV: Chromium

Search keywords: LineChart, LineChartPro, grid, GridChart, log, zoom

@qwyble qwyble added bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Dec 11, 2024
@github-actions github-actions bot added the component: charts This is the name of the generic UI component, not the React module! label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: charts This is the name of the generic UI component, not the React module! status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant