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

[t-textarea] 在自定义组件下,无法自动聚焦 #2322

Open
shebaoting opened this issue Aug 26, 2023 · 1 comment
Open

[t-textarea] 在自定义组件下,无法自动聚焦 #2322

shebaoting opened this issue Aug 26, 2023 · 1 comment

Comments

@shebaoting
Copy link

tdesign-miniprogram 版本

1.2.0

重现链接

No response

重现步骤

自定义组件的代码是

<page-container show="{{showComments}}" >
<t-textarea  autofocus="{{true}}" focus="{{true}}"/>
</page-container>

在页面中点击按钮,触发事件将showComments改变为 true 。然后发现t-textarea无法聚焦。

期望结果

No response

实际结果

No response

基础库版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

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

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

No branches or pull requests

1 participant