Skip to content

Plot doesn't resize properly in CSS's flexbox and grid layout #3034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
antoinerg opened this issue Sep 20, 2018 · 1 comment · Fixed by #3056
Closed

Plot doesn't resize properly in CSS's flexbox and grid layout #3034

antoinerg opened this issue Sep 20, 2018 · 1 comment · Fixed by #3056
Assignees
Labels
bug something broken

Comments

@antoinerg
Copy link
Contributor

Moving issue plotly/react-plotly.js#102 over here.

As reported by @swiperii, a plot doesn't resize properly when using CSS grid for page layout.
It will grow, but it never shrinks.

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

@antoinerg antoinerg self-assigned this Sep 25, 2018
@antoinerg antoinerg added the bug something broken label Sep 25, 2018
@antoinerg antoinerg changed the title Plot doesn't resize properly in CSS grid layout Plot doesn't resize properly in CSS's flexbox and grid layout Sep 26, 2018
@antoinerg
Copy link
Contributor Author

Example of Flexbox not working:
https://codepen.io/antoinerg/pen/ZMgMEo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant