You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The feature to open components as content for modals does not work in lazy loaded modules.
The plunker below throws the error: No component factory found for NgbdModalContent
Link to minimally-working plunker that reproduces the issue:
Oh, I see what is going on - it turns out that a lazy loaded module gets its own ComponentFactoryResolver and we are always using one from the root module.
It will require a bit of code reshuffling to fix but should be resolved in alpha.10.
This appears to be broken again? The plunker example no longer opens a dialog. Has anyone been able to open a component from a lazy loaded module? Is this an issue with Angular itself? 14324
Nvrmind. After digging in a bit, it appears to be working, just not visible. Believe it to be an CSS issue with the in house bootstrap theme my company uses.
Bug description:
The feature to open components as content for modals does not work in lazy loaded modules.
The plunker below throws the error: No component factory found for NgbdModalContent
Link to minimally-working plunker that reproduces the issue:
http://plnkr.co/edit/O8bkySFwvCS1zt9emQSV?p=preview
Version of Angular, ng-bootstrap, and Bootstrap:
Angular: 2.1.0
ng-bootstrap: 1.0.0-alpha.9
Bootstrap: 4.0.0-alpha.4
The text was updated successfully, but these errors were encountered: