react-image icon indicating copy to clipboard operation
react-image copied to clipboard

crossorigin not being passed to native image element

Open codebycarlos opened this issue 2 years ago • 0 comments

Similar to #967, although this affects the crossorigin prop rather than crossOrigin. I've created a sandbox to showcase the problem by comparing behaviour to a native image element.

When setting an image's crossorigin attribute via the crossorigin prop..

<Img crossorigin="anonymous" />

It doesn't actually end up set in the actual DOM element:

image

image

codebycarlos avatar Oct 17 '22 19:10 codebycarlos