Skip to content

[textarea] autosize配置Object在ios会报错 #3943

@MADAO-Chen

Description

@MADAO-Chen

tdesign-miniprogram 版本

1.10.0

重现链接

No response

重现步骤

ios微信版本:8.0.63

<t-textarea model:value="{{value}}" adjust-position="{{false}}" show-confirm-bar="{{false}}" placeholder="请输入您要咨询的问题" autosize="{{autoHeight}}" bind:change="inputChange" bind:enter="handleSend" bind:focus="setInputAbs" bind:blur="setInputRes" />
其中:
autoHeight:{
maxHeight: 120,
minHeight:22
}
使用真机调试报错信息如下:

Image
到textarea.wxs打印如下信息:

Image

Image

期望结果

autosize配置生效

实际结果

在ios报错导致输入框聚焦后键盘弹起又马上隐藏

基础库版本

3.8.0

补充说明

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionThis is a question, not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions