ngx-planet icon indicating copy to clipboard operation
ngx-planet copied to clipboard

Renders two apps at the same time on host container when just requested one

Open hernanBeiza opened this issue 4 years ago • 0 comments

Describe the bug The first time load the respective subapps but the second time, load two apps (previus and new app) at the same time. And the third time, you request the previus app, loads correctly

To Reproduce Steps to reproduce the behavior:

  1. Load the app
  2. Click on new app (app 1)
  3. Click on second app new app (app 2)
  4. See error (app 1 and app 2 loaded)
  5. Click on the previos app (app1) and loads correctly

Expected behavior Load only the request app according the path in routerPathPrefix in registerApps of Planet

Screenshots

  • Views and paths

01BugVista

  • Check styles

02BugHTMLElements

Desktop:

  • OS: Linux Ubuntu 20
  • Browser Chrome
  • Version 84.0.4147.89 (Official Build) (64-bit)

Smartphone(Not tested):

  • Device: N/A
  • OS: N/A
  • Browser N/A
  • Version N/A

Additional context

It looks like it's about styles or something. Check second gif

hernanBeiza avatar Jul 21 '20 17:07 hernanBeiza