Hard task. The issue seemed very easy, but was hard to discovered trully cause and made fix.
Main problem was in dynamic key in routing.
React key in routes was generated from match.url from parent component (route). Good for agendas with tabs as Identity, Role ... .
But this doesn't works for details without parent component (AuditDetail, RoleRequestDetil, ...), because key will be not changed
if ID of entity changed in URL (parent match.url is doesn't contains ID of entity).
In phase where routes are created I don't have more informations for create more specific key. So I add full url to key if route doesn't have child routes. Looks like it's works now.
This problem was in many places for example on audit detail, role request detail, vs request detail.
Commit: https://github.com/bcvsolutions/CzechIdMng/commit/8b1a76b1b32a1607893e2ae81dd7b53725331568