cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

Update node-event-processor.ts

Open ask-tao opened this issue 1 year ago • 2 comments

问题:event.propagationImmediateStopped=true 没有阻止事件冒泡传递。按API 描述,这边不是应该加上&& !event.propagationImmediateStopped吗 =========== 一直以为是event.propagationStopped的强化版。 如果设计没问题能否补充 API 说明和官方文档的使用说明

Re: #

Changelog


Continuous Integration

This pull request:

  • [ ] needs automatic test cases check.

    Manual trigger with @cocos-robot run test cases afterward.

  • [ ] does not change any runtime related code or build configuration

    If any reviewer thinks the CI checks are needed, please uncheck this option, then close and reopen the issue.


Compatibility Check

This pull request:

  • [ ] changes public API, and have ensured backward compatibility with deprecated features.
  • [ ] affects platform compatibility, e.g. system version, browser version, platform sdk version, platform toolchain, language version, hardware compatibility etc.
  • [ ] affects file structure of the build package or build configuration which requires user project upgrade.
  • [ ] introduces breaking changes, please list all changes, affected features and the scope of violation.

ask-tao avatar Sep 20 '24 04:09 ask-tao

Interface Check Report

This pull request does not change any public interfaces !

github-actions[bot] avatar Sep 20 '24 04:09 github-actions[bot]

有人提过 issues https://github.com/cocos/cocos-engine/issues/17072

ask-tao avatar Sep 20 '24 09:09 ask-tao

有人提过 issues #17072

image

qiuguohua avatar Dec 25 '24 06:12 qiuguohua

有人提过 issues #17072

image

什么意思没明白? stopImmediatePropagation()引擎源码没有暴露这个方法使用呀。看下issues #17072说的吧。

ask-tao avatar Dec 25 '24 07:12 ask-tao