Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions src/components/table/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -227,22 +227,20 @@
}

// Animate expanded row must be on the contents div inside

// This adds a quick pop in animation, but does not attempt to animate to height auto
// - down that road dragons lie. @see https://github.com/elastic/eui/issues/6770
.euiTableRow-isExpandedRow .euiTableCellContent {
overflow: hidden;
animation: $euiAnimSpeedNormal $euiAnimSlightResistance 1 normal forwards growExpandedRow;
animation: $euiAnimSpeedFast $euiAnimSlightResistance 1 normal none growExpandedRow;
}

@keyframes growExpandedRow {
0% {
max-height: 0;
}

99% {
max-height: 100vh;
opacity: 0;
transform: translateY(-$euiSizeM);
}

100% {
max-height: unset;
opacity: 1;
transform: translateY(0);
}
}
3 changes: 3 additions & 0 deletions upcoming_changelogs/6826.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Bug fixes**

- Fixed the expanded row animation on `EuiBasicTable` causing cross-browser Safari issues