Open CodingXD opened 4 years ago
Any update on this? I'm getting this type of error on 0.61.2
.
Stil waiting for solution on RN 0.64.3
and RNVectorIcon 9.0.0
@haloriyan @aqeebimtiaz passing style={{fontSize: 30}} will bypass this error
@haloriyan @aqeebimtiaz passing style={{fontSize: 30}} will bypass this error
Works for me, thanks
Expanding on @octoro-software's suggestion, I solved this by checking for instances where fontSize
was defined as a string and changed that to an integer. style={{ fontSize: '13' }}
=> style={{ fontSize: 13 }}
This really help after 1 day of struggle
error while updating property fontWeight in shadow node of type rcttext in react-native and there are no strings in the code for fontWeight
try this - any icon size you are passing in as size={'10'}
or size={10}
should be passed as style={{ fontSize:10 }}
error al actualizar la propiedad fontWeight en el nodo oculto de tipo rcttext en reaccionar-nativo y no hay cadenas en el código para fontWeight
Logró solucionarlo? tengo mismo error
Environment
OS: Android 6.0.1 (real device, not emulator) react-native-vector-icons: ^7.0.0 react: 16.11.0, react-native: 0.62.2,
Description
The issue is rather simple. Whenever I use![Screenshot_20200709-153842](https://user-images.githubusercontent.com/23221413/87027927-7c9f7b00-c1fb-11ea-8821-d33ea17d6ec7.jpg)
react-native-vector-icons
, get the error,Error while updating property 'fontSize' in shadow node of type: RCTText
Reproducible Demo
Let us know how to reproduce the issue. Include a code sample, share a project, or share an app that reproduces the issue using https://snack.expo.io/. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve