-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while updating property 'd' in shadow node of type: RNSVGPath #1
Comments
I'm guessing you didn't set the width and height props, and maybe others, e.g.
If there is a bug here its that I didn't specify the propTypes so you weren't forced to set them. |
Sorry for the close/open, accidentally clicked. I used your code actually, it has all the props. |
I've had a similar problem, but after debugging it turned out the string contained invalid formatting ("NaN" and stuff). Maybe you're having a similar problem? |
@arendjr I see that NaN business also, anyone know why it could have made its way in there? Some division by zero surely |
@ORESoftware: You should probably check your |
Sorry, pressed the button accidentally (on mobile). What I meant was: You should probably check your own application code. At least in my case I was the one accidentally inserting NaNs in the definition of the |
Yeah, so d is here: <Surface width={graphWidth} height={graphHeight}>
<Group x={0} y={0}>
<Shape
d={linePath} /// <<<<<<<<<<<<<<<<
stroke={Color.Orange}
strokeWidth={1}
/>
</Group>
</Surface> the value for linePath is: "MNaN,302Z" LOL no idea where that data is coming from, must be some arithmetic problem |
I had this problem and fixed it by restarting the packager. |
Restarting the packager didn't work for me, I did a cleanup of node_modules and restarted packager & emulator. |
Hey,
Thanks for the code!
First of all I'm new to react-native.
I'm trying to develop something like this: http://jsfiddle.net/soundar24/LpuLe9tr/3/
And your code seems the closest react-native I could work with.
I've imported CircularSlider, put the
<CircularSlider>
part and now I'm getting this error:Line 49:
I replaced it with another value
d="M10 10"
and it showed something correctly, that's how I concluded the error line.The text was updated successfully, but these errors were encountered: