Skip to content

Chart incorrect size when shown in dialog - Vaadin 24.6+ #200

@davidn-ais

Description

@davidn-ais

When attempting to display a chart in a dialog, the size is incorrect. The chart is shown very small in the top left corner of the layout. This was all working fine with Vaadin 24.5 (now broken in 24.6 & 24.7).

The inspector shows the chart as 300x166 (foreign object) and the apex-chart-wrapper size is 914x574.

The expected behaviour is to display the chart to fill the layout.

Windows 11
Chrome
Version 134.0.6998.118 (Official Build) (64-bit)

When the chart is shown small, opening the inspector (F12) then resizes the chart to the correct size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions