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

[bug]: App crashes when opening [tooltip chart] on mobile #4810

Open
2 tasks done
chinazaaa opened this issue Sep 11, 2024 · 2 comments
Open
2 tasks done

[bug]: App crashes when opening [tooltip chart] on mobile #4810

chinazaaa opened this issue Sep 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@chinazaaa
Copy link

Describe the bug

When accessing the chart[toolpit] on mobile devices, the app crashes immediately. The issue does not occur on desktop browsers. This bug appears consistently across multiple mobile devices and needs urgent attention.

f4c9a519-b891-43f7-ae04-2129d3366515.mp4

Affected component/components

chart

How to reproduce

  • Open the app on a mobile device shacn
  • Navigate to [Chart] toolpit section
  • Try opening the component on mobile device Observe the app crashing.

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

this happens across various mobile device

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@chinazaaa chinazaaa added the bug Something isn't working label Sep 11, 2024
@chinazaaa
Copy link
Author

#4812

@parmeet2311
Copy link

parmeet2311 commented Sep 12, 2024

If the defaultIndex is removed from the chart... the error is being resolved even for the mobile version.
<ChartTooltip
content={}
cursor={false}
defaultIndex={1}
/>

Path: apps\www\registry\new-york\block\chart-tooltip-default.tsx //example...

Please let me know if you need any other solution for this.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants