diff --git a/Radzen.Blazor/wwwroot/Radzen.Blazor.js b/Radzen.Blazor/wwwroot/Radzen.Blazor.js index 305f067b1c6..1d51f99fb21 100644 --- a/Radzen.Blazor/wwwroot/Radzen.Blazor.js +++ b/Radzen.Blazor/wwwroot/Radzen.Blazor.js @@ -1238,7 +1238,7 @@ window.Radzen = { Radzen.closePopup(currentPopup.id, currentPopup.instance, currentPopup.callback, e); } } else { - if (!currentPopup.contains(e.target)) { + if (e.target.nodeType && !currentPopup.contains(e.target)) { Radzen.closePopup(currentPopup.id, currentPopup.instance, currentPopup.callback, e); } }