-
Notifications
You must be signed in to change notification settings - Fork 88
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
🐛 FIX: allow proper linebreak in multiselect for narrow mobile screens #712
Conversation
Wondering if we should do this, or limit to 1 line and ellipsize. Cause for long names or email addresses or so, they might break to 3 rows or something and then it looks extra weird? |
That's what came to my mind as well while doing this but I wasn't sure what would be better. In the use case of the mail app I want to see which account I'm sending from, however if we ellipse too much this would only display my name (which is probably the same for all accounts) and cut off the end / relevant part of the mail (domain)... |
Is it possible to limit what is shown inside the multiselect depending on screen width? Meaning we could show both name and email in the open dropdown, but only the email when directly picked. (This only on mobile of course.) Cause the "from" info is comparably the least important info on this screen, and thus should not take 2 lines. |
What is the status here? |
@skjnldsv do you have an idea about the question in my comment? Or @violoncelloCH? :) |
You could maybe implement this with your own multiselect template, but that would be tricky, there is no steps methods to display a text or not. Only solution in my head would be to use media queries for it 🤔 |
Signed-off-by: Jonas Sulzer <[email protected]>
0b6d733
to
28f0f3c
Compare
Rebased. |
e.g. in Mail app
vs