A framework for building native applications using React
Fix issue with zIndex child removal (#49900)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49900 This appears to fix an issue where removing a sibling with zIndex breaks drawing of the next sibling. The theory is that eager return in `onViewRemoved` prevents the view from reverting into a state where it no longer uses custom draw order. However, tracing back history, this eager return was [added](https://github.com/facebook/react-native/pull/43389) to fix a bug in Reanimated. cc bartlomiejbloniarz to confirm if [this Reanimated issue](https://github.com/software-mansion/react-native-reanimated/issues/5715) resurfaces from this change. Fixes #49838 ## Changelog [Android][Fixed] Fixes issue with z-indexed sibling removal Reviewed By: NickGerleman, cipolleschi Differential Revision: D70795631 fbshipit-source-id: 500af92226be29af73f36f911ffff27a0c083ae9
E
Eric Rozell committed
eeb961264eb19143748d751a972f0452d60bb41d
Parent: 942422c
Committed by React Native Bot <bot@reactnative.dev>
on 6/4/2025, 9:41:05 AM