-
Notifications
You must be signed in to change notification settings - Fork 36
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
Error switching when switching tabs #72
Labels
bug
Something isn't working
Comments
I confirm this bug in expo@50. the error produced when you add the "icon" option to the TabScreen component.For now, I've commented on the icon option until I find the problem and fix it. |
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
I had this same error, TypeError: this._icon.setNativeProps, when I upgraded @expo/vector-icons to ^14.0.3, downgrading it back to ^13.0.0 worked for me |
+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current behaviour
I get the typescript error below when I switch tabs that have icons:
TypeError: this._icon.setNativeProps is not a function (it is undefined)
Expected behaviour
I didn't get this error until I upgraded to expo sdk 50
How to reproduce?
Set any icon in the Tab.
Eg. code
Preview
What have you tried so far?
Tried debugging and the error seems to come from the function
createIconSet
in@expo/vector-icons
Your Environment
The text was updated successfully, but these errors were encountered: