You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to add attributes Crossorigin = "Anonymous" to support the cross -domain of image resources. I did not find a good method, so I rewritten IMG components. As shown below:
components={{img({ src, alt }){return<imgsrc={src}alt={alt}crossOrigin="anonymous"/>},}}
Then the error happened
Actual behavior
Each rolling of the page will cause Image to reload, and the page flickering.
But the default behavior is normal, remove the iMage rewriting code to return to normal.
Expected behavior
After rewriting the img components, each rolling of the page not reload the image
Runtime
No response
Package manager
No response
Operating system
No response
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered:
Hi! Thanks for reaching out! Because we treat issues as our backlog, we close issues that are questions since they don’t represent a task to be completed.
See our support docs for how and where to ask questions.
Initial checklist
Affected package
"react-markdown": "^9.0.1", "next": "15.0.4-canary.31",
Steps to reproduce
I need to add attributes
Crossorigin = "Anonymous"
to support the cross -domain of image resources. I did not find a good method, so I rewritten IMG components. As shown below:Then the error happened
Actual behavior
Each rolling of the page will cause Image to reload, and the page flickering.
But the default behavior is normal, remove the iMage rewriting code to return to normal.
Expected behavior
After rewriting the img components, each rolling of the page not reload the image
Runtime
No response
Package manager
No response
Operating system
No response
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: