CodeBeam.MudBlazor.Extensions
CodeBeam.MudBlazor.Extensions copied to clipboard
SelectExtended when opening dropdown, scrolls up the page
Hi,
When using the mudselectextended component, I am having issues with opening the dropdown, below code is how im using it
<MudSelectExtended T="TValue"
Label="@Label"
For="@For"
Required="@IsRequired"
Clearable="@false"
AnchorOrigin="@Origin.BottomCenter"
@bind-Value="@Value"
MultiSelection="@false"
ReadOnly="@IsReadOnly"
SearchBox="@true"
SearchBoxAutoFocus="@true"
SearchBoxClearable="@true"
SearchBoxPlaceholder="@Localizer[nameof(FormResource.Search)]"
ItemCollection="@SelectOptions.ToList()"
In this case, my TValue is of type struct, enum. But with classes i have this issue too.
When I click on the dropdown, my page scrolls/jumps up, forcing me to scroll down back to where the select is used. I am using the version 6.9.2
Is this a known issue? Or am I doing something wrong?
Thanks in advance for answering!
I also encountered this bug, currently no idea what is happening. I suspect ScrollToTheMiddle might also run for the page.
If you can share a snippet, i can work on this.
Hey, I totally forgot about this issue post, my apologies. Have you been able to already solve this issue? Or do I need to still make a snippet?
I have a similiar issue...
If you activate the SearchBox and Autofocus it jumps to the bottom of the page when you open the dropdown for the first time