Skip to content

autosize:true doesn't respect div's max-height when its height isn't specified #2968

Closed
@antoinerg

Description

@antoinerg

autosize: true resizes a chart according to the parent container's width and height.

However, if the parent container's size is determined by css' max-height, the chart is too tall and overflows.

Example https://codepen.io/antoinerg/pen/BOZWxx/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions