setSiblingIndex 导致触摸事件的错误 resumeSystemEvents 不起作用

  • Creator 版本:3.6.0

  • 目标平台:edge浏览器

  • 重现方式:附件导入重现,或者直接setSiblingIndex(-1)更改显示层级后,触摸无效

  • 首个报错:无

  • 之前哪个版本是正常的:

  • 手机型号:

  • 手机浏览器:

  • 编辑器操作系统:win11

  • 重现概率:100%
    问题在于
    我在修改界面显示顺序前后都加上了this.node.resumeSystemEvents(true),触摸事件依然没有恢复正常。希望引擎的小伙伴看看
    项目源码
    bugTest.zip (2.6 MB)


先暂时这样处理吧,已知问题:

问题是就算调用的是
this.node.parent.resumeSystemEvents(true);
this.node.setSiblingIndex(this.node.parent.children.length-1);
this.node.parent.resumeSystemEvents(true);
触摸事件依然是错误的

image
你都是 resumeSystemEvents :sweat_smile:

眼神不好,对不起