Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Textarea ] 多行文本框不能响应设置 value 后 autoheight 自适应 #2522

Closed
pylist opened this issue Jun 19, 2023 · 2 comments
Closed
Labels
to be published fixed, not be published

Comments

@pylist
Copy link

pylist commented Jun 19, 2023

tdesign-vue 版本

1.4.2

重现链接

https://codesandbox.io/embed/tdesign-vue-demo-forked-kmk4pm?fontsize=14&hidenavigation=1&theme=dark

重现步骤

<t-textarea v-model="value" :autosize="{minRows:2}" />

使用组件在首次渲染的时候, 如果value有值的话, 高度不会自动撑开, 需要输入一个字符串才可以撑开正确的高度

image

期望结果

在首次渲染的时候能够识别出正确的高度

实际结果

撑开高度不够

框架版本

vue(2.6.10)

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

👋 @pylist,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@xiaosansiji xiaosansiji changed the title [组件名称] Textarea 多行文本框 [Textarea ] 多行文本框不能响应设置 value 后 autoheight 自适应 Jun 20, 2023
@uyarn uyarn added the to be published fixed, not be published label Jun 20, 2023
@xiaosansiji
Copy link
Collaborator

fixed in 1.4.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

3 participants