-
Notifications
You must be signed in to change notification settings - Fork 2
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
AutocompleteWidget: better display in small layouts #98
Comments
@vera nice idea to provide a compact view. However, Just to let you know. I'm missing some information in your second screenshot. MeSH and also some entities of SNOMED CT will provide a description which could be added to the autocomplete: or only with SNOMED CT Just add |
@rombaum thank you for the tip! When I add the descriptions, I have the opposite problem than above when the widget has a lot of space and is quite wide: The descriptions are cut off short even though there would be more space available. |
The descriptions are truncated after 40 characters. I could provide an option to adapt that, too. Maybe we should think about a |
Not straightforward with CSS inline styles and Found another possible solution: the EuiComboBox component prop |
The description is truncated after 40 characters and the breadcrumb widget doesn't have any truncation Solves #98
bump, I believe with the recent upgrade we can work on this issue? |
I just updated from version 1.9 to the most recent version.
I noticed that the display of the AutocompleteWidget is now less suitable for small layouts. E.g. we have an AutocompleteWidget inside a popover with width 400px. Previously 7 options could be shown at once:
Now only 4 options can be shown at once and I feel like some of the whitespace around the options is "wasted" space:
Maybe a
compact
option could be added when the widget is used in small spaces to get the old layout back?The text was updated successfully, but these errors were encountered: