SelectExtended when opening dropdown, scrolls up the page
MatthijsVollenbroek opened this issue · comments
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.