Get the topmost actor that is notified by pointerup event #1899
-
If you have Multiple actor's that share the same position and subscribe to the same event. It is fired on every actor. You can stop it by setting the bubbling to false, but since the bottom most actor is notified at first, this is the opposite of what I need. Is there any way besides manually checking if there is any actor above this current one to prevent this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@LokiMidgard we spoke offline to the team and we are thinking this is a bug/undesired behavior with event bubbling. We think it may make more sense for the events to bubble from top-most z-index to bottom-most z-index? That way you'd be able to stop the bubbling in a more expected way? Let me know and I'll make a bug 👍 |
Beta Was this translation helpful? Give feedback.
@LokiMidgard we spoke offline to the team and we are thinking this is a bug/undesired behavior with event bubbling.
We think it may make more sense for the events to bubble from top-most z-index to bottom-most z-index? That way you'd be able to stop the bubbling in a more expected way?
Let me know and I'll make a bug 👍