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

how to set z-index? #28

Open
the1sky opened this issue Jan 8, 2016 · 8 comments
Open

how to set z-index? #28

the1sky opened this issue Jan 8, 2016 · 8 comments

Comments

@the1sky
Copy link

the1sky commented Jan 8, 2016

No description provided.

@shakiba
Copy link
Collaborator

shakiba commented Jan 8, 2016

Currently there is no z-index! Nodes are rendered in order they are attached to their parent (recursively and preorder).

@the1sky
Copy link
Author

the1sky commented Jan 12, 2016

@shakiba Ok, I got it ,thank you

@showzyl
Copy link

showzyl commented Mar 2, 2017

in canvas, there is two element have same coordinate and bind the same event, how could i know which event was trigger?

@shakiba
Copy link
Collaborator

shakiba commented Mar 2, 2017

@showzyl Can you please post a sample?

@ogrotten
Copy link

ogrotten commented Oct 4, 2018

Is this still the case? I'm looking at a solitaire game, and this info is relevant to stacking cards.

Does the newest go on top or bottom?

@shakiba
Copy link
Collaborator

shakiba commented Oct 4, 2018

Yes, there is no z-index. Everything is rendered in order they are attached to parent.

@ogrotten
Copy link

ogrotten commented Oct 4, 2018

Ok thanks.

Does the newest go to the top or bottom?

@shakiba
Copy link
Collaborator

shakiba commented Oct 6, 2018

Append goes to top, prepend to bottom.

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

4 participants