keycloak-ui
keycloak-ui copied to clipboard
Navigating between routable tabs shows page loader
Describe the bug
When navigating between routable tabs such as the ones introduced in #1862 causes a page loader to appear. This is due to the fact that some of these tabs are on different routes, which means that the original component gets unmounted and then remounted.
Ideally the routable tabs would ensure that the original route stays mounted, a solution will have to be made for this.
Isn't this because we add mountOnEnter
and / or unmountOnExit
? Is this really an issue?
This happens because we are matching different routes, causing the existing route to unmount.