From cc92f7ffaf0475dfd8dac2e42fdd1d5bd39e0fcf Mon Sep 17 00:00:00 2001 From: ZEJIA LIU <53506531+ZEJIA-LIU@users.noreply.github.com> Date: Tue, 23 Apr 2024 13:59:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A1=A5=E5=85=85=E4=BA=AC=E4=B8=9C?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8Ftextarea=20=E7=9A=84=20disable-defau?= =?UTF-8?q?lt-padding=20=E5=B1=9E=E6=80=A7=20(#15573)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: liuzejia --- packages/taro-jd/src/components.ts | 1 + .../src/__tests__/__snapshots__/jd.spec.ts.snap | 3 ++- .../src/__tests__/__snapshots__/mini-platform.spec.ts.snap | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/taro-jd/src/components.ts b/packages/taro-jd/src/components.ts index 36f79b7d8ff1..5bc9da815bed 100644 --- a/packages/taro-jd/src/components.ts +++ b/packages/taro-jd/src/components.ts @@ -23,5 +23,6 @@ export const components = { Textarea: { 'show-confirm-bar': 'true', 'adjust-position': 'true', + 'disable-default-padding': 'false', }, } diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/jd.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/jd.spec.ts.snap index 500552fc179e..30435cf4e20f 100644 --- a/packages/taro-mini-runner/src/__tests__/__snapshots__/jd.spec.ts.snap +++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/jd.spec.ts.snap @@ -86,7 +86,8 @@ require("./taro"); }, Textarea: { "show-confirm-bar": "true", - "adjust-position": "true" + "adjust-position": "true", + "disable-default-padding": "false" } }; const hostConfig = { diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/mini-platform.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/mini-platform.spec.ts.snap index 4931226b7aa7..34f6f87b98a3 100644 --- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/mini-platform.spec.ts.snap +++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/mini-platform.spec.ts.snap @@ -2985,7 +2985,8 @@ require("./runtime"); }, Textarea: { "show-confirm-bar": "true", - "adjust-position": "true" + "adjust-position": "true", + "disable-default-padding": "false" } }; const hostConfig = {