akveo / nebular

:boom: Customizable Angular UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/nebular
MIT License
8.06k stars 1.51k forks source link

Augury error's with Icons from Nebular #2296

Open ankeris opened 4 years ago

ankeris commented 4 years ago

Issue type

Issue description

Current behavior: When I add an Icon from Nebular of any type (either it's a property [tabIcon] or <nb-icon /> component), the Augury stops working. It throws an error: zone-evergreen.js:659 Unhandled Promise rejection: Unable to find context associated with [object SVGSVGElement] ; Zone: <root> ; Task: setTimeout ; Value: Error: Unable to find context associated with [object SVGSVGElement]

Expected behavior: I expect Augury to work even if I add icons from Nebular.

Steps to reproduce: Try to add an icon and turn on Augury (Angular version 9.0.7)

Related code:

@NgModule({
    declarations: [...],
    imports: [
        NbEvaIconsModule,
        NbIconModule
    ],
    providers: [...],
    bootstrap: [AppComponent]
})

export class AppModule {}

and then in any template I add:

<nb-layout-header>
    <nb-icon icon="shopping-cart-outline"></nb-icon>
</nb-layout-header>
insert short code snippets here

Other information:

npm, node, OS, Browser

Node, npm: node --version and npm --version node -v v12.13.0

Chrome, Windows

"@angular/core": "~9.0.7",
"@nebular/eva-icons": "5.0.0",
"@nebular/theme": "^5.0.0",

Angular, Nebular

johan-steffens commented 4 years ago

I'm also experiencing this issue. Are there any updates on this?

PurpleDragon1999 commented 3 years ago

Having same issue, any solution or update ?