This repository was archived by the owner on Jun 4, 2024. It is now read-only.
File tree 1 file changed +3
-2
lines changed
src/dash-table/components/ControlledTable
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -668,7 +668,7 @@ export default class ControlledTable extends PureComponent<ControlledTableProps>
668
668
669
669
// Adjust the width of the fixed row header
670
670
if ( fixed_rows ) {
671
- Array . from ( r1c1 . querySelectorAll ( 'tr:first-of-type td, tr:first-of-type th' ) ) . forEach ( ( td , index ) => {
671
+ Array . from ( r1c1 . querySelectorAll ( 'tr:first-of-type td.dash-cell , tr:first-of-type th.dash-header ' ) ) . forEach ( ( td , index ) => {
672
672
const style = getComputedStyle ( td ) ;
673
673
const width = style . width ;
674
674
@@ -681,7 +681,7 @@ export default class ControlledTable extends PureComponent<ControlledTableProps>
681
681
682
682
// Adjust the width of the fixed row / fixed columns header
683
683
if ( fixed_columns && fixed_rows ) {
684
- Array . from ( r1c0 . querySelectorAll ( 'tr:first-of-type td, tr:first-of-type th' ) ) . forEach ( ( td , index ) => {
684
+ Array . from ( r1c0 . querySelectorAll ( 'tr:first-of-type td.dash-cell , tr:first-of-type th.dash-header ' ) ) . forEach ( ( td , index ) => {
685
685
const style = getComputedStyle ( td ) ;
686
686
const width = style . width ;
687
687
@@ -691,6 +691,7 @@ export default class ControlledTable extends PureComponent<ControlledTableProps>
691
691
) ;
692
692
} ) ;
693
693
}
694
+
694
695
}
695
696
696
697
handleDropdown = ( ) => {
You can’t perform that action at this time.
0 commit comments