From f99f1b34f31ef94bbd9608f4e3d1778ad724b685 Mon Sep 17 00:00:00 2001 From: chenjiajian <770230504@qq.com> Date: Thu, 13 Apr 2023 14:23:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96css=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/form/textarea.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/form/textarea.js b/src/form/textarea.js index b2ca7e8..91fc30d 100644 --- a/src/form/textarea.js +++ b/src/form/textarea.js @@ -38,7 +38,9 @@ class TextArea extends Component { cursor: text; transition: box-shadow 0.15s linear; } - + :host([autosize]) textarea { + overflow: hidden; + } .label { position: relative; width: 100%;