React-native-linear-gradient: Error while updating property 'startPoint' of a view managed by: BVLinearGradient

Created on 9 Apr 2018  路  4Comments  路  Source: react-native-linear-gradient/react-native-linear-gradient

react-native-linear-gradient: 2.4.0
react-native: 0.54.0
screenshot_20180409-161855

Most helpful comment

in my case, fix problem by

Change

start={[0, 0]}
end={[1, 0]}

To

start={{ x: 0, y: 0 }}
end={{ x: 1, y: 0 }}

All 4 comments

happened to me as well with the same versions
react-native-linear-gradient: 2.4.0
react-native: 0.54.0

but the error was a little different
screenshot_20180410-135734

i ended up just removing the 'start' and 'end' properties and everything worked out

in my case, fix problem by

Change

start={[0, 0]}
end={[1, 0]}

To

start={{ x: 0, y: 0 }}
end={{ x: 1, y: 0 }}

Hey! I'm closing this since it looks like a solved issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

msutyak picture msutyak  路  5Comments

renso3x picture renso3x  路  3Comments

moiri-gamboni picture moiri-gamboni  路  4Comments

jcbiznoff picture jcbiznoff  路  4Comments

imarem picture imarem  路  3Comments