Skip to content

Commit

Permalink
Fix #3443 by forcing processing order (#3466)
Browse files Browse the repository at this point in the history
  • Loading branch information
vnbaaij authored Mar 3, 2025
1 parent 03fb1a9 commit e07250f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Core/Components/List/FluentOption.razor.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// ------------------------------------------------------------------------
// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
// ------------------------------------------------------------------------

using Microsoft.AspNetCore.Components;

namespace Microsoft.FluentUI.AspNetCore.Components;
Expand Down
6 changes: 6 additions & 0 deletions src/Core/Components/List/ListComponentBase.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,12 @@ protected virtual bool DisabledItem(TOption item)
return Disabled; // To allow overrides
}

protected override async Task ChangeHandlerAsync(ChangeEventArgs e)
{
await Task.Delay(10);
await base.ChangeHandlerAsync(e);
}

/// <summary />
protected virtual bool GetOptionSelected(TOption item)
{
Expand Down

0 comments on commit e07250f

Please sign in to comment.