diff --git a/components/style/core/motion.less b/components/style/core/motion.less index 4eaf98832..cce881b77 100644 --- a/components/style/core/motion.less +++ b/components/style/core/motion.less @@ -10,11 +10,13 @@ .ant-motion-collapse-legacy { overflow: hidden; &-active { - transition: height 0.15s @ease-in-out, opacity 0.15s @ease-in-out !important; + transition: height @animation-duration-base @ease-in-out, + opacity @animation-duration-base @ease-in-out !important; } } .ant-motion-collapse { overflow: hidden; - transition: height 0.15s @ease-in-out, opacity 0.15s @ease-in-out !important; + transition: height @animation-duration-base @ease-in-out, + opacity @animation-duration-base @ease-in-out !important; }