-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
InteractionData bubbling? #1252
Comments
If we convert InteractionManager to use events instead of raw callbacks we get some of this for free. |
It's what I'm looking for. I've created issue about the same problem #1291 |
I've made this fix https://gist.github.com/jagi/4832f5f7255b7cc1d600 to make it work for mouse events in my project. However it's not perfect solution. It probably stops propagation to often in non mouse click events (for instance |
Unfortunately my fix breaks something with detecting |
This should work now in v3. enjoy :) 👍 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Perhaps add a way to stop the mouse event from continuing after it triggers a callback, and perhaps let the user specify what direction they want the events to propagate (descendants first, or ancestors first)
I almost achieved what I wanted by reversing the InteractionManager loops, except it ends after one iteration because the sprite doesn't have any interactive children. Hopefully that won't bite me, eh?
Idk how to add labels or I would have labeled it feature-request
The text was updated successfully, but these errors were encountered: