From 255c0b81d0c635040b74fef2f0fe632f247590a9 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 24 Apr 2016 15:29:12 +0800 Subject: [PATCH] Fix Collapse animation of safari, close #1494 --- style/components/collapse.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/style/components/collapse.less b/style/components/collapse.less index 28ad62448e..6a5cce230b 100644 --- a/style/components/collapse.less +++ b/style/components/collapse.less @@ -48,12 +48,15 @@ } } + &-anim-active { + transition: height .2s @ease-out; + } + &-content { overflow: hidden; color: @text-color; padding: 0 16px; background-color: #fff; - transition: height .2s @ease-out; & > &-box { padding-top: 16px;