CodeBeam.MudBlazor.Extensions
CodeBeam.MudBlazor.Extensions copied to clipboard
(bug) [MudSelectExtended] does not scroll to selected item when updated externally
trafficstars
When using MudSelectExtended with bind-Value the select does not scroll to the selected value if it is changed.
When selecting a value using the select, and the select drop-down is subsequently opened, it is scrolled to the selected item. However when Value is changed by something other than the select itself, when subsequently opening the select it is not scrolled to the value.
Expected behavior: the select always scrolls to the selected value.
Perhaps there needs to be a call to ScrollToMiddleAsync in the setter for SelectedValue in MudListExtended?
I think we can also add ScrollToMiddleAsync in OnOpen event.