I have created a custom filter template with filter mode SimpleWithMenu.
In the filterValueTemplate I have a multi select dropdown. When a filter data and the dropdown close, but adter clicking on the filter mode selector and clicking on the Delete button, the popup remains open.
On the image below, you can see that the closePopup has a diplay style "none" and the popup length is 1, so it just returns from the closePopup JS function.
Why do you check for popups.length > 1 not for popups.length > 0
Now I see the problem, but can you help me how to solve it.
Both column has a List and filters on the ID sub property.
The RadzenDataGridFilterMenu (filter type selector) uses thw following code to generate popupId. filterId = $"{Grid.PopupID}{Column.GetFilterProperty()}fm";
The FilterPoroperty will be the sub property (Id) for both columns, so this is not unique.
As I see, this UniqueId is a parameter of the grid, so I have to set this value manually.
Maybe UniqueID should return the Property if UniqueID is null, as used for example here