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

Clicks are not detected outside of parents #140

Open
Su386yt opened this issue May 7, 2024 · 0 comments
Open

Clicks are not detected outside of parents #140

Su386yt opened this issue May 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Su386yt
Copy link

Su386yt commented May 7, 2024

Describe the bug
If you create an object that has a negative coordinate, or a coordinate outside the parent, the onMouseClick event will not trigger. onMouseEnter and onMouseLeave still trigger however.

To Reproduce
Steps to reproduce the behavior:

  1. Create a parent object
  2. Create a child of the parent object, with a location outside the parent object
  3. Give the parent object an onMouseClick event

Expected behavior
The click event should trigger (as does the onMouseEnter and onMouseLeave)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant