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

[Feature] image block component: isUploading indicator during upload #1554

Open
2 tasks done
Laurin-W opened this issue Nov 4, 2024 · 0 comments
Open
2 tasks done
Assignees
Labels
enhancement New feature or request

Comments

@Laurin-W
Copy link

Laurin-W commented Nov 4, 2024

Initial checklist

  • I agree to follow the code of conduct
  • I searched issues and discussions and couldn’t find anything (or linked relevant results below)

Problem

When the onUpload callback takes a long time (e.g. the connection is bad), the image won't appear until the upload is finished and there is no loading indicator. That can result in irritated users.

Solution

The component could show a loading indicator.
Optionally, the image could be shown already using an URL.createObjectURL which is replaced when the onUpload callback resolves.

Alternatives

Thanks for the amazing work on this project! 😄

@Laurin-W Laurin-W added the enhancement New feature or request label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants