已合并
fix: Touch events do not respond after long-pressing to close the Modal. #1636
fix: Touch events do not respond after long-pressing to close the Modal. #1636
已合并
xiedairong创建于 2025年9月29日
xiedairong
2025年9月29日

Description

When the Modal is closed by long-press, the next touch event doesn't work. I checked the behavior on iOS - when closing the Modal, an onPressOut event is triggered, which should be issued by the system. However, the Harmony system doesn't emit this event. My solution is to manually trigger a TouchEnd event.

Changes

  • fixed touch events do not respond after long-pressing to close the Modal.

Test Plan

  1. Open the tester App.
  2. Check ModalTest.

Checklist

likedislike
Pull Request已成功合入, 合并人@huangyouhua
(感谢 xiedairong 的贡献)
Xxiedairong
2025年9月29日 关联了issue:fix: Touch events do not respond after long-pressing to close the Modal.
xiedairong
2025年9月29日 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
2025年9月29日 评论:

感谢提交 Pull Requests!
Thanks for submitting a pull request.

likedislike
openharmony_ciopenharmony_ci成员
2025年9月29日 添加了label:dco检查成功
openharmony_ci
openharmony_ci成员
2025年9月29日 评论:

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

likedislike
openharmony_ciopenharmony_ci成员
2025年9月29日 添加了label:编译成功
openharmony_ciopenharmony_ci成员
2025年9月29日 添加了label:静态检查成功
openharmony_ciopenharmony_ci成员
2025年9月29日 通过测试
openharmony_ci
openharmony_ci成员
2025年9月29日 评论:

代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/68da82a264650f998b4c1abb/runlist

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result package
1 ohos_react_native_master success >>>

likedislike
Xxiedairong
2025年10月8日 测试状态已重置,测试人: openharmony_ci
Xxiedairong
2025年10月8日 推送  1 个提交:67dfc608-Cancell active touches instead.
openharmony_ciopenharmony_ci成员
2025年10月8日 删除了label:静态检查成功
openharmony_ciopenharmony_ci成员
2025年10月8日 删除了label:编译成功
openharmony_ci
openharmony_ci成员
2025年10月8日 评论:

代码有更新,重置PR验证状态

likedislike
openharmony_ci
openharmony_ci成员
2025年10月8日 评论:

感谢提交 Pull Requests!
Thanks for submitting a pull request.

likedislike
xiedairong
2025年10月8日 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
2025年10月8日 评论:

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

likedislike
openharmony_ciopenharmony_ci成员
2025年10月8日 添加了label:编译成功
openharmony_ciopenharmony_ci成员
2025年10月8日 添加了label:静态检查成功
openharmony_ciopenharmony_ci成员
2025年10月8日 通过测试
openharmony_ci
openharmony_ci成员
2025年10月8日 评论:

代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/68e5dfc264650f998b4c8402/runlist

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result package
1 ohos_react_native_master success >>>

likedislike
chenhaoyuechenhaoyue
2025年10月9日 将chenhaoyue1设为评审人
chenhaoyuechenhaoyue
2025年10月9日 通过了评审
huangyouhuahuangyouhua
2025年10月9日 通过审查
huangyouhuahuangyouhua
2025年10月9日 关闭了关联的issue
huangyouhuahuangyouhua
2025年10月9日 合入了pull request