-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
Avatar component has imgProps marked as deprecated but the suggested alternative does not work #44501
Comments
Please provide a reproducible sandbox. What are the attributes of |
The attribute I am concerned with is
|
Code sandbox example here: |
Thanks, I will fix it asap. |
Steps to reproduce
Steps:
slotProps
/img
settings to specify thecrossOrigin
settingnet::ERR_BLOCKED_BY_RESPONSE.NotSameOrigin
imgProps
property with the same settings and see how the request now works.Current behavior
Requests will fail with
net::ERR_BLOCKED_BY_RESPONSE.NotSameOrigin
Expected behavior
Requests should not fail
Context
We upgraded our code using the suggested command
npx @mui/codemod@latest deprecations/all <path>
which updated the code correctly but raised this issue.Your environment
npx @mui/envinfo
Search keywords: Avatar imgProps
The text was updated successfully, but these errors were encountered: