responsive behavior not working
See original GitHub issueI’m using two line charts along side in a bootstrap row, each inside a col.
Expected Behavior
It should snap back to normal size when the browser maximizes
Current Behavior
If the browser window is narrowed the canvas fills the row but when you maximize the window it doesn’t go back to how it was
Steps to Reproduce (for bugs)
- put two canvases in to
col
s:
<div class="row">
<div class="col"><canvas id="language-chart"></canvas></div>
<div class="col"><canvas id="subject-chart"></canvas></div>
</div>
- initialize 2 line charts like the docs tells you to
- load the page in a maximized browser, everything’s normal
- change the width of the browser to about the tablet width
- go back to maximized
Environment
- Chart.js version: 2.7.2
- Browser name and version: Opera 51, Firefox latest
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
JQuery DataTable responsive behavior not working for table ...
I have a Bootstrap 4 accordion with a table inside each section of it. The tables have the JQuery DataTables extension and are...
Read more >Datatables responsive behavior is not working with Flask.
I have been trying to get the responsive pages to work with Flask. I've loaded every .css & .js I can find including...
Read more >Responding to Non-Responsive Behavior: Basic Practices ...
Be taught and encouraged to use more socially appropriate alternative behaviors that “work” as effectively, efficiently, and relevantly as ...
Read more >Create responsive layouts in canvas apps - Power Apps
To achieve responsive layout, you adjust some settings and write expressions throughout your app. Disable Scale to fit. You can configure each ...
Read more >Solving Responsive Web Design Challenges With Elementor
In this tutorial, we examine several responsive web design challenges and ... the technical problems and adjust your ideas accordingly.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s an issue with
flexbox
(your.col
class), you need to explicitly set.col { min-height: 0 }
, see #4156 (comment) and this fiddle.well, that’s really good. can we do something about windows 10 as well?