All columns collapse when resizing the browser window.
See original GitHub issueI’m submitting a …
- bug report
Current behavior
- Chrome (on
2.0.0
or2.1.1
): When the window is resized, the column layout collapses. - FF/Safari (on
2.0.0
): When the window is resized, the column layout collapses. - FF/Safari (on
2.1.1
): Columns are collapsed on page load.
Expected behavior
The table should retain it’s columns as it is resized (always filling the width of it’s parent).
Reproduction of the problem
I couldn’t get the suggested Plunker link working so I’m posting a gif…
What is the motivation / use case for changing the behavior?
A user should be able to resize the browser window as the table expands/contracts while retaining columns.
Please tell us about your environment:
- NPM / OSX / Karma / angular-cli
*Table version:
- Bug present on
2.0.0
or2.1.1
(didn’t test2.1.0
) - Not present on previous
1.x.x
versions
*Angular version: 2.2.4
*Browser:
- Chrome
- In Firefox and Safari it seems that the layout bug presents on load; before resizing.
*Language: TypeScript 2.1.1
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Bootstrap columns are overlapping when the browser window ...
I'm new to Bootstrap and having some styling issues with a project I'm working on. When my window is resized and made smaller,...
Read more >Columns are not resized when changing browser window ...
I've found a problem with table resizing and hidden columns in 1.9.0. If you view the test case in a browser window at...
Read more >Prevent Columns From Collapsing In GridView - MSDN
It does not maintain the column width if the browser is resized. I'm looking for the results similar to what occurs when placing...
Read more >Resizing and collapsing panes and browsers - One Commander
Each Browser has a minimum width (Standard Layout) or height (Columns Layout). When that minimum is reached a "collapse" message appears, and if...
Read more >Hide Grid Columns When the Browser Width Is Too Small
If the Grid doesn't have any hidden columns when the browser window is resized, collapse all detail rows. Use CSS to conditionally display...
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
Update
In case anyone else comes across this looking for a solution:
Example:
Current workaround
ngOnInit
method set a timeout for 100ms and dynamically set the 1st tab as the selected tab.Any lucky, guys? I’m stuck with the same problem …