Skip to content

[0.87] Fix parentNode for nested root host views like <Modal> #1354

Description

@rubennorte

Target Branch

0.87

Link to commit or PR to be picked

react/react-native#57623

Description

This fixes a pretty serious DOM traversal bug when using special views like modal, for which the document was being provided as parentNode (and parentElement, etc.) instead of the real parent of the modal in the React tree.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions