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

Event sequence problem. #4278

Closed
jcyuan opened this issue Sep 4, 2017 · 2 comments
Closed

Event sequence problem. #4278

jcyuan opened this issue Sep 4, 2017 · 2 comments

Comments

@jcyuan
Copy link
Contributor

jcyuan commented Sep 4, 2017

image

the nested objects are:
stage -> root -> c2 -> c1 -> btn1
as the debug info you can see:
all are sorted except up & click, they should be in sequence to be dispatched like other events too?
i tested a few game enginies events are dispatched in sequence even HTML dom:
see:

image

or this is just a normal sequence you guys designed?

@ivanpopelyshev
Copy link
Collaborator

ivanpopelyshev commented Sep 4, 2017

That's a good point.

I suggest we push everything into array and then fire events on it, like here: https://github.com/pixijs/pixi-display/blob/master/src/InteractionManagerMixin.ts#L136

With these changes it will be possible to solve click&mouseup issue.

@lock
Copy link

lock bot commented Feb 24, 2019

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.

@lock lock bot locked and limited conversation to collaborators Feb 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants