Skip to content
Merged
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
8 changes: 8 additions & 0 deletions src/material/tabs/tab-body.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@
visibility: visible;
}

// Chrome appears to have a bug where the animation glitches in RTL if the element
// has a height of 0px which can happen with lazy-loaded content or when it's off-screen.
// See: https://github.com/angular/components/issues/31503. We can work around it by setting
// a minimum height on it.
.mat-tab-body-animating > & {
min-height: 1px;
}

.mat-mdc-tab-group-dynamic-height & {
overflow: hidden;
}
Expand Down
Loading