diff --git a/components/select/SelectBase.razor.cs b/components/select/SelectBase.razor.cs index dee42694..e08ad366 100644 --- a/components/select/SelectBase.razor.cs +++ b/components/select/SelectBase.razor.cs @@ -536,7 +536,7 @@ namespace AntDesign if (OnSelectedItemsChanged.HasDelegate) await OnSelectedItemsChanged.InvokeAsync(SelectedOptionItems.Select(s => s.Item)); - if (_dropDown.IsOverlayShow()) + if (_dropDown != null && _dropDown.IsOverlayShow()) { //A delay forces a refresh better than StateHasChanged(). //For example when a tag is added that is causing SelectContent to grow,