keycloak-ui icon indicating copy to clipboard operation
keycloak-ui copied to clipboard

Navigating between routable tabs shows page loader

Open jonkoops opened this issue 3 years ago • 2 comments

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.

jonkoops avatar Jan 19 '22 09:01 jonkoops

Isn't this because we add mountOnEnter and / or unmountOnExit? Is this really an issue?

edewit avatar Mar 11 '22 10:03 edewit

This happens because we are matching different routes, causing the existing route to unmount.

jonkoops avatar Mar 11 '22 10:03 jonkoops