-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
SearchBar - iOS icon error #3837
Labels
Comments
Temporarily, I pass the SearchBar component the prop SearchIcon with the value being an Icon:
|
This happens to me when upgrading react-native-vector-icons from v9 to v10. |
7 tasks
I was able to fix this by adding the a searchIcon: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Platform
Explain what you did
Using the SearchBar on latest 4 rc8 shows a '?' as the search bar symbol on iOS instead of the magnifying glass. Showing this Error in console:
Warning: Failed prop type: Invalid prop
name
of valueios-search
supplied toIcon
, expected one of ["accessibility",........]We are not passing any such prop and this is working in the react-native-vector-icon v9.2.0
Expected behavior
We expect a magnifying glass as the search bar icon instead of the '?' with the warning.
Screenshots
This is what it looks like:
Even the https://reactnativeelements.com/docs/components/searchbar playground is showing a bad search icon:
The text was updated successfully, but these errors were encountered: