Issue only when publishing - cannot read property of null (reading insertbefore)

this issue doesn't happen at all on the development machine

the radzen grids shows up, but the images (pen and trash) go away after 1 sec. then when i try to insert a new record i get this issue

You seem to have a generic Blazor deployment issue. Try to solve that first - check the warning and the linked thread.

The warning is resolved, the issue is still there

I tried on Firefox, it's working fine

We are not aware of such issue I am afraid. Not sure what could be causing it.