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

field组件 type = textarea时出现卡顿和输入法拼音 #724

Closed
1 of 7 tasks
zhouzyc opened this issue Nov 20, 2024 · 0 comments
Closed
1 of 7 tasks

field组件 type = textarea时出现卡顿和输入法拼音 #724

zhouzyc opened this issue Nov 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zhouzyc
Copy link
Contributor

zhouzyc commented Nov 20, 2024

这个 Issue 涉及以下平台:

  • 微信小程序
  • 支付宝小程序
  • 百度小程序
  • 头条小程序
  • 快手小程序
  • QQ 轻应用
  • Web 平台(H5)

BUG 描述
在使用中发现textarea 在打字过程中会显示拼音在内容,还有点卡顿。
微信图片_20241120155457

复现步骤
1.父组件一直更新value值。
2.子组建使用field,并且type = textarea。
微信图片_20241120155629

最后发现是因为field使用了nextTick更新的问题,如果不使用就直接更新就好了。
猜想可能是因为不能使用延迟来更新textarea 的input事件。

微信图片_20241120155846

期望结果

实际结果

截图

环境

附加信息

@zuolung zuolung added the bug Something isn't working label Nov 22, 2024
@zuolung zuolung closed this as completed Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants