RadzenFieldSet Expand Event not triggering on latest version

Just tested latest version 2.6.6 and events for FieldSet Expand (didn't test Collapse) is not triggering. Reverted back to 2.5.9 and it worked fine.

Thanks for reporting that! Will be fixed with the next release.

1 Like

Hi, I have the issue now as well. I had it on version 8.0.3. Updated now to 8.0.4 and still have the issue.

Nothing special in the razor

Documents

Hi @DavidD,

Does the online demo work for you? It has the expand event wired up. If it does work check the following:

  1. You are not having old CSS theme loaded. Browsing your page in private mode would eliminate that.
  2. Check if interactivity is enabled for the page that contains the fieldset.

Thx for your reply. Sorry it took me a while to reply due to some priority shifts in the planning.

I can confirm if I disable our custom css, the FieldSet works the same way like it does in the examples. So I have to dive in my local css.

I do not understand why, but this was causing the issue

.rz-fieldset:has(.rz-fieldset-legend) rz-fieldset-content-wrapper {
    margin-top: -10px;
}

But deleting this piece of css or by changing it to

.rz-fieldset:has(.rz-fieldset-legend) .rz-state-expanded.rz-fieldset-content-wrapper {
    margin-top: -10px;
}

fixed the issue

(Why the css exists, I don’t know! it was given to me by our UI team)