Skip to content

findHostInstance_DEPRECATED warning in StrictMode and modal not fully rendered #189

@jenni-faro

Description

@jenni-faro

After upgrading to React Native 0.77 when showing a modal I see the following error message
Warning: findHostInstance_DEPRECATED is deprecated in StrictMode. findHostInstance_DEPRECATED was passed an instance of Wrap which is inside StrictMode. Instead, add a ref directly to the element you want to reference
and in StrictMode the modal seems not be rendered fully on the first render. Just when clicking on one button in the modal it gets rendered correctly. Happens just in StrictMode.

"react-native-modalfy": "^3.7.0"
react native 0.77.3

When starting the application. Not full opacity and still little bit opaque. Seems that the rendering was stopped in between.

Image

After clicking a button on the modal it gets rendered correctly.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions