@@ -575,6 +575,21 @@ values: `sm`, `md`, `lg`, or `xl`.
575
575
- _ Possible vertical clipping/truncation_ . Responsive tables make use of ` overflow-y: hidden ` , which
576
576
clips off any content that goes beyond the bottom or top edges of the table. In particular, this
577
577
may clip off dropdown menus and other third-party widgets.
578
+ - Using props ` responsive ` and ` fixed ` together will ** not** work as expected. Fixed table layout
579
+ uses the first row (table header in this case) to compute the width required by each column (and
580
+ the overall table width) to fit within the width of the parent container &mdash ; without taking
581
+ cells in the ` <tbody> ` into consideration &mdash ; resulting in table that may not be resposive. To
582
+ get around this limitation, you would need to specify widths for the columns (or certain columns)
583
+ via one of the following methods:
584
+ - Use ` <col> ` elements within the [ ` table-colgroup ` slot] ( #table-colgroup ) that have widths set
585
+ (e.g. ` <col style="width: 20rem"> ` ), or
586
+ - Wrap header cells in ` <div> ` elements, via the use of
587
+ [ custom header rendering] ( #header-and-footer-custom-rendering-via-scoped-slots ) , which have a
588
+ minimum width set on them, or
589
+ - Use the ` thStyle ` property of the [ field definition object] ( #field-definition-reference ) to
590
+ set a width for the column(s), or
591
+ - Use custom CSS to define classes to apply to the columns to set widths, via the ` thClass ` or
592
+ ` class ` properties of the [ field definition object] ( #field-definition-reference ) .
578
593
579
594
### Stacked tables
580
595
0 commit comments