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

HitTestAll doesnt detect Group when PointText is a child #2052

Open
stuartin opened this issue Nov 9, 2023 · 0 comments
Open

HitTestAll doesnt detect Group when PointText is a child #2052

stuartin opened this issue Nov 9, 2023 · 0 comments

Comments

@stuartin
Copy link

stuartin commented Nov 9, 2023

Description/Steps to reproduce

  1. Create a group with PointText item and anything else included as a child
  2. Run a project.hitTestAll based on a mouseDown/Up event from view/tool
  3. The results from hitTestAll does not include the Group
  4. Remove the PointText from the Group and re-run the hitTestAll
  5. The Group is now returned

Link to reproduction test-case

Sketch

  • Click a circle in the red group > Group detected
  • Click a circle in the blue group > Group not detected

Expected result

I would expect that the hitTestAll should detect the Group regardless if it has PointText inside it or not

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

1 participant