Skip to content

sizing error #141

Description

@Eskan0r

Context

The width(0) and height(0) of chart should be greater than 0, please check the style of container, or the props width(100%) and height(100%), or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the height and width.

Solution

ts lowk what claude gave me back please look deeper into this and try and figure out why its happening

This error is coming from a charting library (likely ECharts, which is commonly used in web apps and extensions) that's trying to render a chart but can't determine its dimensions. The chart component needs explicit width and height values greater than 0 to render properly, but it's currently getting 0 for both dimensions.

The error is suggesting several possible causes: the container element might have CSS that collapses its size (e.g., display: none or no explicit dimensions), the chart props might not be setting width/height correctly (especially if you're using responsive sizing like width="100%"), or the chart might need additional responsive configuration. Since it's not breaking functionality, the chart is likely rendering off-screen or invisibly, but the library is throwing a warning about it. You'd want to check the component that displays the chart in your extension and ensure its container has proper CSS dimensions or that the chart component has explicit width/height props set.

A / C

no errors in the chrome extension error console

Metadata

Metadata

Assignees

Labels

Type: BugSomething isn't workingfrontendjavascriptPull requests that update Javascript code

Type

Fields

No fields configured for Bug.

Projects

Status
review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions