Skip to content

Make dropdowns with long options degrade more gracefully#6244

Merged
ara4n merged 1 commit intoelement-hq:developfrom
spantaleev:gracefully-degrading-dropdowns
Feb 26, 2018
Merged

Make dropdowns with long options degrade more gracefully#6244
ara4n merged 1 commit intoelement-hq:developfrom
spantaleev:gracefully-degrading-dropdowns

Conversation

@spantaleev
Copy link
Copy Markdown
Contributor

If not enough space was dedicated to a dropdown,
it would previously make option text overlap.

With this patch, each option can potentially span
multiple lines. This is weird, but it's a better
degradation than making option text overlap.

Of course, a proper fix is to dedicate proper attention to each "not enough space dropdown" and allow for enough space to avoid this. But until that's done, it's better to degrade in a nicer way.

Before

dropdown-media-before

dropdown-login-before

After

dropdown-media-after

dropdown-login-after

Signed-off-by: Slavi Pantaleev slavi@devture.com

If not enough space was dedicated to a dropdown,
it would previously make option text overlap.

With this patch, each option can potentially span
multiple lines. This is weird, but it's a better
degradation than making option text overlap.

Signed-off-by: Slavi Pantaleev <slavi@devture.com>
@ara4n
Copy link
Copy Markdown
Member

ara4n commented Feb 26, 2018

woo, thanks! fixes #4815

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.

2 participants