已合并
fix: the touch interaction issue between ScrollView and its parent component. #1435
xiedairong创建于 2025年8月19日
fix: the touch interaction issue between ScrollView and its parent component. #1435
已合并
Pull Request已成功合入, 合并人@huangyouhua
(感谢 xiedairong 的贡献)Xxiedairong
2025年8月19日 关联了issue:fix: the touch interaction issue between ScrollView and its parent component.
2025年8月19日 关联了issue:fix: the touch interaction issue between ScrollView and its parent component.
openharmony_ci
2025年8月19日 评论:
2025年8月19日 评论:
感谢提交 Pull Requests!
Thanks for submitting a pull request.


2025年8月19日 添加了label:dco检查成功
xiedairong
2025年8月19日 评论:
2025年8月19日 评论:
start build


openharmony_ci
2025年8月19日 评论:
2025年8月19日 评论:
首次触发
门禁构建开始,包含静态检查、代码编译【ohos_react_native_master编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/68a4339164650f998bbd74f8/runlist


2025年8月19日 添加了label:编译成功
2025年8月19日 添加了label:静态检查成功
2025年8月19日 通过测试
openharmony_ci
2025年8月19日 评论:
2025年8月19日 评论:
代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/68a4339164650f998bbd74f8/runlist
静态检查:
| # | check type | result | report |
|---|---|---|---|
| 1 | codeCheck | pass | >>> |
编译测试:
| # | Device | build result | package |
|---|---|---|---|
| 1 | ohos_react_native_master | success | >>> |


2025年8月21日 将panjinling设为评审人
此处折叠了6条事件消息 查看更多
2025年8月21日 删除了label:编译成功
openharmony_ci
2025年8月21日 评论:
2025年8月21日 评论:
代码有更新,重置PR验证状态


openharmony_ci
2025年8月21日 评论:
2025年8月21日 评论:
感谢提交 Pull Requests!
Thanks for submitting a pull request.


xiedairong
2025年8月21日 评论:
2025年8月21日 评论:
start build


openharmony_ci
2025年8月21日 评论:
2025年8月21日 评论:
本地或库上代码有更新,全量重新构建,重置所有关联PR的验证状态
门禁构建开始,包含静态检查、代码编译【ohos_react_native_master编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/68a738b764650f998b167181/runlist


2025年8月21日 添加了label:编译成功
2025年8月21日 添加了label:静态检查成功
2025年8月21日 通过测试
openharmony_ci
2025年8月21日 评论:
2025年8月21日 评论:
代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/68a738b764650f998b167181/runlist
静态检查:
| # | check type | result | report |
|---|---|---|---|
| 1 | codeCheck | pass | >>> |
编译测试:
| # | Device | build result | package |
|---|---|---|---|
| 1 | ohos_react_native_master | success | >>> |


2025年8月21日 将bo_5655设为评审人
2025年8月21日 通过了评审
2025年8月22日 通过审查
2025年8月22日 添加了 squash commit 备注:fix: the touch interaction issue between ScrollView and its parent component.
2025年8月22日 添加了 squash commit 备注:fix: the touch interaction issue between ScrollView and its parent component.
2025年8月22日 关闭了关联的issue
2025年8月22日 合入了pull request
Description
Previously, my understanding of JSResponder was incomplete. Upon comparing with iOS, I found that when a ScrollView's ancestor element becomes the JSResponder, the ScrollView is not allowed to scroll. In iOS, this is achieved through the touchesShouldCancelInContentViewmethod. However, ArkUI does not have a similar method. Here, I implemented it by using m_scrollNode.setEnableScrollInteraction. Therefore, I moved the logic for querying whether an ancestor element is a JSResponder to the ScrollViewComponentInstance.
Changes
Test Plan
Checklist