Skip to content

Commit

Permalink
Fixed DataGrid filter popup closes on scrolling of DataGrid placed in…
Browse files Browse the repository at this point in the history
… column FIlterTemplate
  • Loading branch information
enchev committed Nov 29, 2022
1 parent f5fefcd commit 72bab91
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Radzen.Blazor/wwwroot/Radzen.Blazor.js
Expand Up @@ -836,6 +836,12 @@ window.Radzen = {
Radzen.closeAllPopups = function (e) {
for (var i = 0; i < Radzen.popups.length; i++) {
var p = Radzen.popups[i];

var closestPopup = e.target.closest && (e.target.closest('.rz-popup') || e.target.closest('.rz-overlaypanel'));
if (closestPopup && closestPopup != p) {
return;
}

Radzen.closePopup(p.id, p.instance, p.callback);
}
Radzen.popups = [];
Expand Down

0 comments on commit 72bab91

Please sign in to comment.