You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A fixed length of string is not always appropriate in a responsive context, the available width is generally not the same between mobile phones and a desktop.
Proposed solution
When setting the truncate-length property of the v-file-input to "auto", the component dynamically adapts the length of the string by truncating it in the middle, respecting the following conditions:
The name is truncated only if the width of the text (name + size + others) is larger that the width of the input (when it overflows)
If 1. is fulfilled, the name is truncated so that the width of the text equals the width of the input
The input stays always one line height
I would even suggest to put this as the default value.
It could eventually be extended to other components if suitable.
I hope this is technically possible.
The text was updated successfully, but these errors were encountered:
Problem to solve
A fixed length of string is not always appropriate in a responsive context, the available width is generally not the same between mobile phones and a desktop.
Proposed solution
When setting the truncate-length property of the v-file-input to "auto", the component dynamically adapts the length of the string by truncating it in the middle, respecting the following conditions:
I would even suggest to put this as the default value.
It could eventually be extended to other components if suitable.
I hope this is technically possible.
The text was updated successfully, but these errors were encountered: