Skip to content

Commit

Permalink
🐛 fix loss of focus on parameters set with rerender (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
igotinfected authored Dec 29, 2023
1 parent 9f9d391 commit 7c7a697
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ protected override async Task OnParametersSetAsync()
}

if (Selection is not null
&& Selection.Equals(InternalSelection)
|| InternalSelection is null)
&& Selection.Length != InternalSelection?.Length
&& Selection.Index != InternalSelection?.Index)
{
InternalSelection = Selection;
await SetSelectionAsync(InternalSelection);
Expand Down

0 comments on commit 7c7a697

Please sign in to comment.