Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoadingOverlay: Causing host already attached error #1455

Closed
benjamincharity opened this issue Apr 10, 2019 · 0 comments · Fixed by #1463
Closed

LoadingOverlay: Causing host already attached error #1455

benjamincharity opened this issue Apr 10, 2019 · 0 comments · Fixed by #1463
Assignees
Labels
Focus: component Issues concerning a specific component Needs: exploration Issues that need more information before being worked on P2: Urgent Target: latest Issues related to the latest version of the library (master) Type: bug An implemented item with undesired effects

Comments

@benjamincharity
Copy link
Contributor

When reporting an issue, please fill out these questions and follow the steps.

1. What is the expected behavior?

No error

2. What is the current behavior?

Causing an error:

rollbar.umd.min.js:2 Error: Host already has a portal attached
    at throwPortalAlreadyAttachedError (portal.es5.js:30) [angular]
    at DomPortalOutlet.push../node_modules/@angular/cdk/esm5/portal.es5.js.BasePortalOutlet.attach (portal.es5.js:289) [angular]
    at TsLoadingOverlayDirective.set [as tsLoadingOverlay] (terminus-ui-loading-overlay.js:78) [angular]
    at updateProp (core.js:22304) [angular]
    at checkAndUpdateDirectiveInline (core.js:22055) [angular]
    at checkAndUpdateNodeInline (core.js:23362) [angular]
    at checkAndUpdateNode (core.js:23324) [angular]
    at debugCheckAndUpdateNode (core.js:23958) [angular]
    at debugCheckDirectivesFn (core.js:23918) [angular]
    at Object.eval [as updateDirectives] (ListDetailsComponent.html:18) [angular]
    at Object.debugUpdateDirectives [as updateDirectives] (core.js:23910) [angular]
    at checkAndUpdateView (core.js:23306) [angular]
    at callViewAction (core.js:23547) [angular]
    at execEmbeddedViewsAction (core.js:23510) [angular]

3. What are the steps to reproduce?

Providing a reproduction is the best way to share your issue.

Reproducible when going from a route with an overlay to another route with an overlay.

4. Which versions of this library, Angular, TypeScript, & browsers are affected?

  • UI Library: v11 & v12
  • Angular:
  • TypeScript:
  • Browser(s):
@benjamincharity benjamincharity self-assigned this Apr 10, 2019
@benjamincharity benjamincharity added Focus: component Issues concerning a specific component Needs: exploration Issues that need more information before being worked on P2: Urgent Target: latest Issues related to the latest version of the library (master) Type: bug An implemented item with undesired effects labels Apr 10, 2019
benjamincharity added a commit that referenced this issue Apr 16, 2019
When using the async pipe and a nested value the portal could be reinitialized without first tearing
down the portal

ISSUES CLOSED: #1455
benjamincharity added a commit that referenced this issue Apr 16, 2019
When using the async pipe and a nested value the portal could be reinitialized without first tearing
down the portal

ISSUES CLOSED: #1455
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Focus: component Issues concerning a specific component Needs: exploration Issues that need more information before being worked on P2: Urgent Target: latest Issues related to the latest version of the library (master) Type: bug An implemented item with undesired effects
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant