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
Custom file input overflow when selecting multiple files #31577
Comments
This likely needs two separate patches, one for v4.x and one for v5 since we rewrote the component there. |
@mdo Can I take this? |
@ms-yogi Go for it! |
Is this still an issue with the latest v4-dev? We landed a patch recently #32145. |
the patch #32145 fixed the size of the hidden input, not the visible label, so the issue is/was still there. made a patch #32160 (but only added v5 is unaffected by this problem, as it uses a completely different approach |
#32160 was merged, thanks @patrickhlauke! |
When the `multiple' property on a custom file input is enabled and a user selects a lot of files, the filenames overflow the file input.
This overflow issues can be easy fixed by adjusting the
.custom-file-label
styles a bit:The text was updated successfully, but these errors were encountered: