Avatar component has imgProps marked as deprecated but the suggested alternative does not work #44501
Labels
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
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: