Skip to content

[0.79] Fix issue with zIndex child removal #955

@caoko

Description

@caoko

Target Branch

0.79

Link to commit or PR to be picked

facebook/react-native@34ae9fa

Description

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 to fix a bug in Reanimated. cc bartlomiejbloniarz to confirm if this Reanimated issue resurfaces from this change.
See also facebook/react-native#49838

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Projects

    Status

    Done / Picked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions