-
Notifications
You must be signed in to change notification settings - Fork 795
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
bug: The img
tag doesn't support the crossOrigin
attribute
#4685
Comments
Thanks! |
It will be updated in the next version yes? How do I temporarily fix this error in the current version? |
this commit adds the `crossorigin` html attribute for image tages (`img`) to stencil's public runtime typings. upon applying this commit, projects using stencil should be able to type the following in their `render` function and not receive a typing error: ```tsx render() { return <img crossorigin="anonymous"></img> } ``` Fixes: #4685
#4686 has been created to fix this issue. In the interim, you'll need to us |
Okay, thanks. |
this commit adds the `crossorigin` html attribute for image tages (`img`) to stencil's public runtime typings. upon applying this commit, projects using stencil should be able to type the following in their `render` function and not receive a typing error: ```tsx render() { return <img crossorigin="anonymous"></img> } ``` Fixes: #4685
The fix for this issue has been released as a part of today's Stencil v4.1.0 release |
It's really great! |
Prerequisites
Stencil Version
^4.0.0
Current Behavior
Expected Behavior
Both
video
andaudio
are supported, I would expectimg
to support thecrossOrigin
attribute as well!System Info
No response
Steps to Reproduce
Code Reproduction URL
No Link
Additional Information
No response
The text was updated successfully, but these errors were encountered: