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

Added fix for whitespaces not displaying in filename #2107

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Mil4n0r
Copy link
Collaborator

@Mil4n0r Mil4n0r commented Oct 23, 2024

Checklist
(Check off all the items before submitting)

  • Build process is done without errors. All tests pass in the /lib directory.
  • Self-reviewed the code before submitting.
  • Meets accessibility standards.
  • Added/updated documentation to /website as needed.
  • Added/updated tests as needed.

Description
FileItems inside FileInput were not displaying their fileName in a correct way, as the no-wrap option for white-space does indeed collapse consecutive spaces into one.

Closes #2106

Copy link
Collaborator

@GomezIvann GomezIvann left a comment

Choose a reason for hiding this comment

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

I think we should add a new story to test the edge case of the user who wrote the issue (or similar).

@GomezIvann GomezIvann self-assigned this Oct 23, 2024
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.

Incorrect file name preview [File input component] in case of extra white spaces.
2 participants