From c5f56b9db3a4e8a056ecc475ed444f2e18efa05f Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 17 Sep 2017 13:47:35 +0800 Subject: [PATCH] optimize TextArea autosize animation --- components/input/style/mixin.less | 1 + 1 file changed, 1 insertion(+) diff --git a/components/input/style/mixin.less b/components/input/style/mixin.less index ac15cdabb2..99cba41f68 100644 --- a/components/input/style/mixin.less +++ b/components/input/style/mixin.less @@ -71,6 +71,7 @@ max-width: 100%; // prevent textearea resize from coming out of its container height: auto; vertical-align: bottom; + transition: all .3s, height 0s; } // Size