Skip to content

Commit 2a00413

Browse files
authored
fix(textarea): 修复 slot 嵌套使用 textarea 时的输入失焦问题 (#3084)
1 parent 0c84db1 commit 2a00413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/__VUE/textarea/textarea.taro.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
:show-count="false"
1212
:maxlength="maxLength ? maxLength : -1"
1313
:placeholder="placeholder || translate('placeholder')"
14-
:auto-focus="autofocus"
14+
:auto-focus="autofocus ? true : undefined"
1515
@input="change"
1616
@blur="blur"
1717
@focus="focus"

0 commit comments

Comments
 (0)