File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
CodeBeam.MudBlazor.Extensions/Components/ListExtended Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 44@using MudBlazor
55@using MudExtensions .Enums
66
7- <div @attributes =" UserAttributes" id =" @_elementId" class =" @Classname" style =" @Stylename " tabindex =" -1" @onkeydown =" HandleKeyDown" @onfocusout =" HandleOnFocusOut" >
7+ <div @attributes =" UserAttributes" id =" @_elementId" class =" @Classname" style =" @Stylename " tabindex =" -1" @onkeydown =" HandleKeyDown" @onfocusout =" HandleOnFocusOut" @onscroll = " HandleOnScroll " >
88 <CascadingValue Value =" @this" IsFixed =" true" >
99 @if (MultiSelection && SelectAll && SelectAllPosition == SelectAllPosition .BeforeSearchBox && ParentList == null )
1010 {
Original file line number Diff line number Diff line change @@ -852,6 +852,14 @@ protected async Task HandleOnFocusOut()
852852 await OnFocusOut . InvokeAsync ( ) ;
853853 }
854854
855+ protected void HandleOnScroll ( )
856+ {
857+ if ( Virtualize == true )
858+ {
859+ UpdateSelectedStyles ( ) ;
860+ }
861+ }
862+
855863 #endregion
856864
857865
You can’t perform that action at this time.
0 commit comments