-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fix broken rendering of migration waves table rows, properly pass i…
…sExpandable prop in useTableControlProps (#1398) In #1345, we changed the structure of the expandable rows in the Migration Waves table and caused the `isExpanded` prop to be present on all rows (which should only be on the expanded content rows), which caused all rows to be hidden because it was false. This PR restores the intended structure: Each row is wrapped in a `<Tbody>` with the `isExpanded` prop, which contains two `<Tr>`s: one for the row itself and one for the expanded content. Also removes the `cursor: "pointer"` inline style on the `Tbody` which was causing the whole row to appear clickable even though only the expandable cells are clickable. Signed-off-by: Mike Turley <mike.turley@alum.cs.umass.edu>
- Loading branch information
Showing
2 changed files
with
170 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters