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

touch-start中打开新的带touch层的界面后,claimedTouchIdList没有清空

Open kaxifakl opened this issue 9 months ago • 1 comments

Cocos Creator version

3.8.2

System information

Window 10 web

Issue description

层级关系 -button -touchNode -ui

在touchNode的touch-start中打开ui,ui也带touch事件,然后关闭ui后,点击界面任意非touchNode区域,touch事件会被touchNode触发,因为touchNode中的claimedTouchIdList没有清空

Relevant error log output

No response

Steps to reproduce

如上

Minimal reproduction project

No response

kaxifakl avatar May 18 '24 04:05 kaxifakl