Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with v2.0.0 and react-native 0.61.5 #311

Open
laurentS opened this issue Mar 27, 2020 · 0 comments
Open

Crash with v2.0.0 and react-native 0.61.5 #311

laurentS opened this issue Mar 27, 2020 · 0 comments

Comments

@laurentS
Copy link

When I use react-native-modalbox version2.0.0 on an app built with RN 0.61.5, the app crashes with the following error message:

Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

Check the render method of `MyComponent`.

MyComponent is the component that encloses <Modal>.

If I change back to 1.7.1, the error goes away. I use several modals throughout the app, they all have the same behaviour.
I have not been able to isolate where exactly the error is happening yet, as the error message is too vague.

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

No branches or pull requests

1 participant