From 391e9e647bf6eea9dc6909a90b8bc8efea98bc5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Kone=C4=8Dn=C3=BD?= Date: Mon, 9 Jan 2023 08:26:01 +0100 Subject: [PATCH] removed flashing scroll bar when expanding content --- lib/css/components/expandable.less | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/css/components/expandable.less b/lib/css/components/expandable.less index 164ddf3ff8..4895cfc91a 100644 --- a/lib/css/components/expandable.less +++ b/lib/css/components/expandable.less @@ -13,10 +13,6 @@ --_ex-content-mb: 0; --_ex-content-o: unset; --_ex-content-transform: unset; - --_ex-content-transition: - margin-bottom @ex-transition-duration cubic-bezier(0, 0, 0, 1), - transform @ex-transition-duration cubic-bezier(1, 0, 1, 1), - opacity @ex-transition-duration cubic-bezier(1, 0, 1, 1); &:not(.is-expanded) { --_ex-after-h: 0; @@ -26,12 +22,6 @@ --_ex-content-mb: -1500px; --_ex-content-o: 0; --_ex-content-transform: scaleY(0); - --_ex-content-transition: - margin-bottom @ex-transition-duration cubic-bezier(1, 0, 1, 1), - visibility 0s @ex-transition-duration, - max-height 0s @ex-transition-duration, - transform @ex-transition-duration cubic-bezier(0, 1, 1, 1), - opacity @ex-transition-duration cubic-bezier(0, 1, 1, 1); & .s-expandable--content { @supports ((-webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)) or (clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%))) {