From 6640c89593b1921be31601b960db09302e9e01ad Mon Sep 17 00:00:00 2001 From: capdiem Date: Wed, 18 Dec 2024 13:50:20 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(ListItem):=20do=20not=20wait?= =?UTF-8?q?=20for=20the=20JS=20blur=20interop=20(#2287)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Masa.Blazor/Components/List/MListItem.razor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Masa.Blazor/Components/List/MListItem.razor.cs b/src/Masa.Blazor/Components/List/MListItem.razor.cs index d84534fe6b..e5d255480e 100644 --- a/src/Masa.Blazor/Components/List/MListItem.razor.cs +++ b/src/Masa.Blazor/Components/List/MListItem.razor.cs @@ -131,7 +131,7 @@ protected virtual async Task HandleOnClick(MouseEventArgs args) { if (args.Detail > 0) { - await Js.InvokeVoidAsync(JsInteropConstants.Blur, Ref); + _ = Js.InvokeVoidAsync(JsInteropConstants.Blur, Ref); } if (OnClick.HasDelegate)