Replies: 1 comment 2 replies
-
This is a design feature of FluentUI WebComponents, which "impose" the height of
The problem will be the same with Your solution, as you said, is to configure the items using the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Background
I am trying to get a single-select Autocomplete to render a list of results with more formatting than normal. However, the
OptionTemplate
seems to be constraining the width of the result such that they're basically unreadable.FAQ
This is wrong control for single-item. Why not use a FluentSelect: Yes, I know this is just for selecting a single item. However, I need the templating ability that Autocomplete gives me for when reviewing options. If there's a way to template both the Options set and maybe even the seleted item with FluentSelect, I'd be interested for sure
Why not use
OptionStyle
: I could assignmin-height
to be larger. However, I'm concerned about items being different heights and having to know that ahead of time. It just seems like a hack.Sample Repo
Sample Repo
Try it here. Perhaps I'm missing something very straightforward.
Beta Was this translation helpful? Give feedback.
All reactions