Skip to content

Resizing Troubles #330

@smholsen

Description

@smholsen

Codepen

Codepen here: https://codepen.io/anon/pen/jdeQzp

Explanation

Expected Behavior
This may be a silly expection, but;

  1. Load the CodePen
  2. Click The "test" Button
  3. Observe that the chart overflows its container. (Here, I expected it to resize to fit)
  4. Resize the window just a bit.
  5. Observe that the chart fills the container as expected.
  6. Click the "test" button again.
  7. Observe that the chart is now too small. It does not fill the container. (Here I expected it to resize to fill)
  8. Resize the window just a bit
  9. Observe that the chart fills its container as expected.

I tried to also capture it in this Gif;
https://i.imgur.com/eZqR6lH.gif

  • What error message are you getting?
    No Error Messages.

  • Additional
    I was wondering, is there any way to force a re-check of the container size by calling some function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions