-
Notifications
You must be signed in to change notification settings - Fork 358
Does not export images in React #170
Comments
Could you provide a JSFiddle or other minimal reproduction of the problem so I can investigate? Right off, I can't think of any reason it wouldn't work from a DOM constructed by React. |
I used React for about 2 minutes.Sometimes they fail. I used JSX as HTML in the following manner.
|
I'm going to need a working JSFiddle that reproduces the failure or error you're encountering. The above code doesn't look like any React code I'm familiar with. |
I had the same issue with React. This was my code: <image
href="http://example.com/image.jpg"
width={32}
height={32}
x={0}
y={0}
preserveAspectRatio="xMidYMid slice"
/> After running I assume it was trying to replace remote link with a local representation of image - to avoid starting another network request during load. (Probably related to #223) Anyway, simple solution, I just replaced <image
xlinkHref="http://example.com/image.jpg"
width={32}
height={32}
x={0}
y={0}
preserveAspectRatio="xMidYMid slice"
/> Now when I inspect DOM, I see only one |
The text was updated successfully, but these errors were encountered: