Skip to content

fix: update the refresh header height in the sub thread, it is necessary to switch to the main thread #47

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

tyBrave
Copy link

@tyBrave tyBrave commented Jul 23, 2024

Summary

Test Plan

在closeRefresh函数中输出日志,检查日志的线程ID

Checklist

  • 已经在真机设备或模拟器上测试通过
  • 已经与 Android 或 iOS 平台做过效果/功能对比
  • 已经添加了对应 API 的测试用例(如需要)
  • 已经更新了文档(如需要)
  • 更新了 JS/TS 代码 (如有)

…ary to switch to the main thread

Signed-off-by: tyBrave <tianyong21@h-partners.com>
@ding-chengjie ding-chengjie merged commit 921ee66 into react-native-oh-library:sig Jul 23, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Smart中在子线程去模拟动画去更新UI,需要切换主线程更新UI
2 participants