Chevron defaults to right arrow after upgrading to react-native-vector-icons 6.7 (iOS)
See original GitHub issueExplain what you did After upgrading to 2.1.0 Chevron defaults to a right arrow on iOS.
Expected behavior
Chevron remain as a chevron unless otherwise specified.
Describe the bug
After upgrading to 2.1.0 Chevron defaults to a right arrow on iOS. did not affect Android.
BEFORE upgrade would display correctly.
<ListItem ... chevron >
AFTER upgrade I have to use icon library.
<ListItem ... chevron={{ name: 'right', type: 'antdesign', color: themes.LIST_CHEVRON_COLOR, size: 16, }} />
Your Environment (please complete the following information):
software | version |
---|---|
react-native-elements | 2.1.0 |
react-native | 0.6.3 |
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
react-native-vector-icons - npm
Customizable Icons for React Native with support for NavBar/TabBar, image source and full styling.. Latest version: 9.2.0, last published: 6 ...
Read more >After update to new version of react native Ionicons (in react ...
It's working fine in android . I added fonts in Info.plist. Also added "apply from: "../../node_modules/react-native-vector- ...
Read more >react-native-vector-icons directory
arrow -bold-right.. arrow-bold-up.. arrow-down ... chevron-small-right.. chevron-small-up ... ios-settings-outline.. ios-settings-sharp.
Read more >Icon - React Native Elements
zocial. To check all the supported icons, visit react-native-vector-icons directory. Custom Icon Fonts. Register your own custom icons ...
Read more >Example to Use React Native Vector Icons
Importing Icon Files in iOS; Lastly, Import icon component in your project and start using it. How to use Icon Component? For the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can always set a custom icon in a theme and thus avoid any surprises.
Also in tracking with this ticket: https://github.com/expo/vector-icons/pull/138 expo/vector-icons has not updated to ionIcons v5 yet, so any change or update would leave out expo users. I think this will have to sit and wait until that update happens. Until then, if you want to use a more recent version of
react-native-vector-icons
, you’ll have to make the change manually in your code. I think we have to wait until other packages are updated to make the update and major version bump to RNE.