Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

双击box会莫名给box添加一个hitChildren: false的属性, 导致子元素无法响应交互 #266

Open
sperains opened this issue Nov 20, 2024 · 2 comments

Comments

@sperains
Copy link

sperains commented Nov 20, 2024

初始状态下, 图中的小圆圈显示了crosshair样式, 说明是响应了交互的.
image

双击之后, 点一下空白区域, 再移动到box上面, 此时小圆圈已经无法响应交互了.
image

观察导出的json发现box上面多了一个hitChildren: false的属性.

https://cloudstudio.net/a/22909337338527744?channel=share&sharetype=URL

Cloud Studio Template

@leaferjs
Copy link
Owner

编辑器场景下, Box有一个双击进组,然后退出组的逻辑(hitChildren = false),我看看后面怎么优化一下吧

@sperains
Copy link
Author

好的, 收到

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants