Dialog unable to show drop down menu correctly #921
Closed
geowong2022
started this conversation in
General
Replies: 2 comments 5 replies
-
Hi, Can you give us more details about the Lib version used and a sample of code? I tried to reproduce your issue, adding this code to the Demo Dialog sample pages ( @* Body *@
<FluentDialogBody>
<FluentSelect TOption="string">
<FluentOption>Option One</FluentOption>
<FluentOption>Option Two</FluentOption>
<FluentOption>Option Three</FluentOption>
<FluentOption>Option Four</FluentOption>
<FluentOption>Option Five</FluentOption>
</FluentSelect>
<FluentAutocomplete TOption="Country"
Label="Select a country"
Width="250px"
Height="100px"
Placeholder="Select countries"
OnOptionsSearch="@OnSearchAsync"
MaximumSelectedOptions="3"
OptionText="@(item => item.Name)"
@bind-SelectedOptions="@SelectedItems" />
</FluentDialogBody> @inject DataSource Data
@code {
IEnumerable<Country> SelectedItems = Array.Empty<Country>();
private async Task OnSearchAsync(OptionsSearchEventArgs<Country> e)
{
var allCountries = await Data.GetCountriesAsync();
e.Items = allCountries.Where(i => i.Name.StartsWith(e.Text, StringComparison.OrdinalIgnoreCase))
.OrderBy(i => i.Name);
}
} But the result seems fine. |
Beta Was this translation helpful? Give feedback.
5 replies
-
Could you create a GIT repo of your sample? Because I cannot reproduce your problem. The only case where the menu is not on top of all other components is when you use a FluentCard. |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hi,
Whenever I use a FluentAutocomplete or FluentSelect, the drop down menu shows correctly in non-dialog page.
However, when I use Dialog service to show a pop up, the menu is show like this:

I notice that the transform is negative something in fluent-anchored-region:

How to temporary fix it at my end to correctly show the menu?
Beta Was this translation helpful? Give feedback.
All reactions