Skip to content

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
@Mil4n0r Mil4n0r requested a review from GomezIvann October 25, 2024 07:18
@GomezIvann GomezIvann merged commit cd11148 into master Oct 25, 2024
@GomezIvann GomezIvann deleted the Mil4n0r/fix_whitespaces_fileinput branch October 25, 2024 07:43
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.

3 participants