Skip to content
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] Support referrer policy in AvatarImage #2772

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

g12i
Copy link

@g12i g12i commented Mar 11, 2024

Description

Include referrerPolicy when checking image in useImageLoadingStatus(). Fixes: #1616

In my case the issue occurred with Gmail avatars, served from googleusercontent.com.

image

I added tests which somehow simulate this behaviour. It's hard to add a storybook example without actually using my own image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Avatar] Referrer Policy is not respected when loading the image
1 participant