Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit c886286

Browse files
slauriatkara
authored andcommitted
fix(tabs): hide md-tab-content elements entirely when inactive. (#10776)
1 parent 590b684 commit c886286

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/tabs/tabs.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ md-tab-content {
205205
&.md-left:not(.md-active) {
206206
@include rtl(transform, translateX(-100%), translateX(+100%));
207207
animation: 2 * $swift-ease-in-out-duration md-tab-content-hide;
208-
opacity: 0;
208+
visibility: hidden;
209209
* {
210210
transition: visibility 0s linear;
211211
transition-delay: $swift-ease-in-out-duration;
@@ -215,7 +215,7 @@ md-tab-content {
215215
&.md-right:not(.md-active) {
216216
@include rtl(transform, translateX(100%), translateX(-100%));
217217
animation: 2 * $swift-ease-in-out-duration md-tab-content-hide;
218-
opacity: 0;
218+
visibility: hidden;
219219
* {
220220
transition: visibility 0s linear;
221221
transition-delay: $swift-ease-in-out-duration;

0 commit comments

Comments
 (0)