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

[Bug] Image shows fallback slot while asset is loading #182

Closed
daniel-mader opened this issue Apr 8, 2024 · 1 comment
Closed

[Bug] Image shows fallback slot while asset is loading #182

daniel-mader opened this issue Apr 8, 2024 · 1 comment
Assignees
Labels
Bug Something isn't working Frontend This issue pertains to the UniMe frontend.

Comments

@daniel-mader
Copy link
Collaborator

daniel-mader commented Apr 8, 2024

Description

While an image is loaded from disk using the <Image /> component, for a brief moment the fallback slot is rendered. While this works as designed, it can confuse the user since the image is almost instantly loaded (aka "placeholder flashing").

Hardware Specification

No response

Steps to Reproduce the Bug

  1. navigate around the app and pay attention to wherever images are displayed

Expected Behaviour

Images should be preloaded before the navigation is executed to prevent flashing placeholders, but this might introduce an artificial delay and introduce bad UX

Actual Behaviour

182.mov

Errors

n/a

@daniel-mader daniel-mader added the Bug Something isn't working label Apr 8, 2024
@maiertech maiertech self-assigned this May 1, 2024
@maiertech maiertech added the Frontend This issue pertains to the UniMe frontend. label Jul 3, 2024
@JelleMillenaar JelleMillenaar added this to the UniMe Quick Wins milestone Jul 29, 2024
@maiertech
Copy link
Member

Obsolete with /credential route redesign in #366.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Frontend This issue pertains to the UniMe frontend.
Projects
Development

No branches or pull requests

3 participants