ng-matero / extensions

Angular Material Extensions Library.
https://ng-matero.github.io/extensions/
MIT License
388 stars 48 forks source link

Crash when MtxPopoverModule isn't present in app.module #272

Closed TiagoMAGarcia closed 3 months ago

TiagoMAGarcia commented 4 months ago

If the MtxPopoverModule isn't present in app.module there is crash even though it is present on the module of one of the routes

image image

Environment

Angular CLI: 17.1.0-next.3 Node: 20.10.0 Package Manager: npm 9.8.1 OS: win32 x64

Angular: 17.0.8 ... animations, common, compiler, compiler-cli, core, forms ... language-service, platform-browser, platform-browser-dynamic ... router, service-worker

Package Version

@angular-devkit/architect 0.1701.0-next.3 @angular-devkit/build-angular 17.1.0-next.3 @angular-devkit/core 17.0.6 @angular-devkit/schematics 17.0.6 @angular/cdk 17.0.4 @angular/cli 17.1.0-next.3 @angular/fire 17.0.0 @angular/google-maps 17.0.4 @angular/material 17.0.4 @angular/material-date-fns-adapter 17.0.4 @angular/youtube-player 17.0.4 @schematics/angular 17.0.6 rxjs 7.8.1 typescript 5.2.2 zone.js 0.14.2

nzbin commented 3 months ago

I create an online example and I don't find any issues. Can you provide an online example? https://stackblitz.com/edit/angular-ivy-hph2hn?file=src%2Fapp%2Fapp.component.ts