Skip to content

fix(portfolio): Prevent ApexCharts Registry Crash - #842

Merged
elcharitas merged 1 commit into
devfrom
fix/portfolio-apexcharts-registry
Sep 24, 2026
Merged

elcharitas merged 1 commit into
devfrom
fix/portfolio-apexcharts-registry

Conversation

@elcharitas

@elcharitas elcharitas commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Discovered this random crash when resizing the portfolio widget.

The issue comes from how ApexChart handles a chart when an id is provided. It keeps the portfolio donut chart in a global list, then tries to copy that list when another chart resizes. That copy reaches a React object ApexChart can’t handle, which leads to the crash.

Removing the unused id fixes it.

@elcharitas
elcharitas marked this pull request as draft September 24, 2026 11:58
@elcharitas
elcharitas marked this pull request as ready for review September 24, 2026 11:59
@elcharitas
elcharitas merged commit f677a84 into dev Sep 24, 2026
1 check passed
@elcharitas
elcharitas deleted the fix/portfolio-apexcharts-registry branch September 24, 2026 12:02
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

Successfully merging this pull request may close these issues.

2 participants