Skip to content

expandRow.className disappears on row collapse #1502

@tomekstankowski

Description

@tomekstankowski

className attribute of expandRow prop is no longer applied to expanded row on collapse row click (for a short period of time when row is collapsing). My class MonthlySummaryTable_dailySummaryCardRow__2Gxsa (see screenshot) is removed from <td> when row is collapsing. You can inspect this by forcing execution break on element's attributes modification (Chrom dev tools: Break on -> attributes modification). Here is part of my expandRow object (other attributes are pretty standard):

{
  ...
  className: classes.dailySummaryCardRow
}

I have also tried to apply function className: () => classes.dailySummaryCardRow instead of string but this does not work.
My version of react-bootstrap-table-next is 4.0.2.
Screenshot from 2020-11-03 16-49-03

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions