Skip to content

Picking the same rejected profile picture again shows no error #4097

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

Picking the same rejected profile picture again does nothing. The error returns in onFileChange (packages/web-pkg/src/components/Avatars/AvatarUpload.vue) don't reset the file input, so the browser fires no change event for the same file.

Reproduction Steps

  1. Go to Account → Information and click "Upload"
  2. Pick a file over 10 MB (or a broken .png), the error toast appears
  3. Click "Upload" again and pick the same file

Expected Outcome

The error toast appears again.

Actual Outcome

Nothing happens and no toast appears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions