Skip to content

Bug - Upload prompt disappears when a file is deleted #3745

Open
@LWWright7

Description

@LWWright7

Bug Report

  • I’ve searched for any related issues and avoided creating a duplicate issue.

What happened

While reviewing another ticket I noticed this issue. For the File Input - Multiple component, when a user selects an item, then deletes it, the default message "Drag a file here..." disappears. See video:

Screen.Recording.2025-01-27.at.11.15.19.AM.mov

What I expected to happen

I would expect the text "Drag a file here..." to reappear after the file is deleted

Reproducing

  • CSS Library version:
  • Device: (e.g. iPhone 8, Macbook) - MacBook Pro
  • Browser: (e.g. Firefox, IE 11) -

Steps to reproduce:

  1. Visit this link
  2. Click on the prompt to upload a file.
  3. Upload the file,
  4. Then delete the file.

Urgency

How urgent is this request? Please select the appropriate option below and/or provide details

  • This bug is blocking work currently in progress
  • This bug is affecting work currently in progress but we have a workaround
  • This bug is blocking work planned within the next few sprints
  • This bug is not blocking any work
  • Other

Details

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions