Skip to content

fix: improve zIndex handling and sorting logic#752

Merged
jfboeve merged 6 commits intolightning-js:fix/z-index-simplifyfrom
pecoram:fix/zIndex-resort-dirty
Mar 11, 2026
Merged

fix: improve zIndex handling and sorting logic#752
jfboeve merged 6 commits intolightning-js:fix/z-index-simplifyfrom
pecoram:fix/zIndex-resort-dirty

Conversation

@pecoram
Copy link
Contributor

@pecoram pecoram commented Mar 6, 2026

This fixes an issue where stale z-ordering state could remain after node removal and lead to incorrect render order.
By cleaning the parent’s z-index tracking data when a node is detached, node stacking stays consistent.

@pecoram pecoram marked this pull request as ready for review March 6, 2026 15:41
@jfboeve jfboeve changed the base branch from main to fix/z-index-simplify March 11, 2026 09:50
@jfboeve jfboeve merged commit fc12f8d into lightning-js:fix/z-index-simplify Mar 11, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants