Wrong header items width
See original GitHub issueThe table header’s width is not calculated the same way as the table’s body, ending up in situations like this (note the header overflowing on the right):
[Edit: actually it happens even without this, see below] It happened because the bar on the left appears after a transition, and the whole layout re-rendered accordingly but the header did not.
[Edit: just missing CSS files] Also probably related: the width of a menu item is calculated before the sorting arrows are placed, which can produce this:
I could solve this by setting the width
property, but I don’t want fixed with, and no minWidth
prop is available.
Issue Analytics
- State:
- Created 7 years ago
- Comments:28 (11 by maintainers)
Top Results From Across the Web
Header widths don't match item widths with static headers
I have the MasterTable layout set to "Fixed", and have all of the column widths specified, header and item. The column widths for...
Read more >Full width header error - Stack Overflow
So I am coding a full width header tumblr theme and while everything's fine as far as the full width, as soon as...
Read more >header width issue — DataTables forums
I have exactly the same problem. The first time I render the page every width in the header is set to 0px. Sorting...
Read more >Bad width of head of longtable - TeX - LaTeX Stack Exchange
The obvious problem is that header columns are misaligned. $i$ should be above the numbers (first column) and $m_i$ should be above the...
Read more >CSS Fixed Headers & Footers Tutorial - YouTube
Is your CSS Width 100% setting NOT working? This is a common problem with CSS position fixed headers and footers.
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
Indeed, thanks, it works now. I naively thought npm would do that, but I had to add it to the webpack config entry points.
thanks for feedback 👍