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

fix: loading placeholder size in user-avatar #5910

Merged
merged 4 commits into from
Apr 3, 2025

Conversation

christian14b
Copy link
Collaborator

@christian14b christian14b commented Apr 3, 2025

  • Fixing loading sizes
  • Image infinite loading issue

@christian14b christian14b requested a review from a team April 3, 2025 18:06
onMounted(() => {
avatarsRefs.value.forEach(async el => {
const img = el.imageRef;
await waitForImageToComplete(img);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this something we can do within the avatar component? Otherwise we'll have to do this change with each use case.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I was working on that now, I'll open a PR soon

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@christian14b christian14b merged commit b74227b into main Apr 3, 2025
5 checks passed
@christian14b christian14b deleted the fix-placeholder-size-img-of-kv-user-avatar branch April 3, 2025 22:38
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.

3 participants