-
Notifications
You must be signed in to change notification settings - Fork 349
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
(Android) Trying to resolve view with tag which doesn't exist #7
Comments
Android or iOS? |
on Android |
it might be a bug in React Native then, that if an element don't have a style, it's not even in the resolveView list.. |
Probably related to the collapsable property for Android Views. |
view is somehow virtual (don't mirror a real UI View underneath) if you use that property, so it makes sense that resolveView don't work in that case, it's not a bug on RN then. |
I'll add a note in README |
I'm not able to fix this issue. |
solved passing a reference of the view which contains the main navigator. |
yeah, because |
Resolved by adding collapsable={false} to view
|
Still works |
Thanks @manivannan-mp |
when add ref To View |
Yeah it's working for me "react-native": "0.70.5", thanks |
Still getting same error |
Still working thanks !! |
I'm getting this issue if my view reference did not specify a backgroundColor.
so the code works fine if I take a Snapshot with the below viewRef
However it will crash with the "Trying to resolve view with tag 'tagID' which doesn't exist"
if I remove the backgroundColor props.
Any thought on why this is happening?
Thanks.
The text was updated successfully, but these errors were encountered: