React-native-svg: setNativeprops on a View in SVG does not work

Created on 20 Jan 2020  路  3Comments  路  Source: react-native-svg/react-native-svg

Bug

<Svg>
    <View ref={ref} />
</Svg>

ref.setNativeProps() was working in v9.5.1 but not working in v11.0.1

released reproduction needed

Most helpful comment

I'm trying to use setNativeProps() on a Ellipse, but it doesn't exist. I'm using react-native-web and the latest react-native-svg (12.1). I just noticed this question was about a ref to a View inside Svg, but still curious.

All 3 comments

Can you make a full reproduction?

:tada: This issue has been resolved in version 12.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

I'm trying to use setNativeProps() on a Ellipse, but it doesn't exist. I'm using react-native-web and the latest react-native-svg (12.1). I just noticed this question was about a ref to a View inside Svg, but still curious.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

obetomuniz picture obetomuniz  路  38Comments

anhuiliujun picture anhuiliujun  路  59Comments

raffaeler picture raffaeler  路  38Comments

uriklar picture uriklar  路  40Comments

kay-is picture kay-is  路  35Comments