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

zOrdering bug with locked parent #24

Closed
wouterlucas opened this issue Oct 2, 2023 · 1 comment
Closed

zOrdering bug with locked parent #24

wouterlucas opened this issue Oct 2, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@wouterlucas
Copy link
Contributor

If you create a locked parent with child nodes, the child nodes never seem to be able to update their zIndex if created in a different sequence. Ie. if created in the correct order as the zIndex prescribes it works but changing the z Index of childs within a locked parent doesn't seem to work.

For example:

parentNode
 zIndex: 1
 zIndexLocked: 1
 
 childNodeOne
   zIndex: 40
   
 childNodeTwo
   zIndex: 2

In the above childNodeOne will not be above childNodeTwo, even though it has a higher zIndex.

Expectation is that childNodeOne will be on top of childNodeTwo, but never block something that has a higher zIndex then parentNode.

@wouterlucas wouterlucas added the bug Something isn't working label Oct 2, 2023
@wouterlucas
Copy link
Contributor Author

Fixed by changing zOrdering strategy per #91

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
No open projects
Archived in project
Development

No branches or pull requests

1 participant