Skip to content

Commit

Permalink
Fixed parameter is not of type node with AutoComplete
Browse files Browse the repository at this point in the history
  • Loading branch information
enchev committed Nov 29, 2024
1 parent 40ed1d5 commit b9937ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Radzen.Blazor/wwwroot/Radzen.Blazor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit b9937ee

Please sign in to comment.