question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Chevron defaults to right arrow after upgrading to react-native-vector-icons 6.7 (iOS)

See original GitHub issue

Explain 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:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
ivanseniccommented, Sep 18, 2020

You can always set a custom icon in a theme and thus avoid any surprises.

1reaction
flyingcirclecommented, Aug 6, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found