-
Notifications
You must be signed in to change notification settings - Fork 18
Problem with components that are created with component factory resolver #773
Comments
Hey @ayberkaltuntabak, that's a known issue in version 11 and older. If you update to v12, the issue should be gone! We introduced new debugging APIs which help us find the render tree more accurately. I'll keep the issue open for now and pin it to make sure other folks facing the same issues find the response. |
FYI, labeling as a P3 because this should be fixed by Angular v12. Let me know if that's not the case. |
@mgechev Thanks for your response. I wish good luck for developing dev tools. |
Issue confirmed here also. |
@CheetahDev If possible could you open a new issue documenting your concern about the dev tools panel not being smooth? I'm interested in ways we could improve the user experience for everyone. Thanks. |
I see my Angular 12 dynamic components in the tree, but the selector for them isn't shown. Every one of the DIVS, ARTICLEs shown here is a dynamic component, such as 'DynamicGridComponent', 'DynamicFeatureComponent', 'MarkdownComponent' etc. I realize it may not be possible to show the directives applied as for other component - but if there was a way to see the component class name, or even expose something like a |
You could use |
@mgechev Thanks for the reply. Yes all those div, article, figure and section nodes are dynamic components - not just HTML. The only exception is the 'picture' tag which is inside my My goal really is to be able to find something in the tree quickly - and since this whole component of my application is dynamic it's just a bit harder. Would be great to hook into it somehow, but not the end of the world if not possible. |
@simeyla would you open a feature request with your ask for richer discovery functionality? This seems unrelated to the problem described here for versions prior to v12. |
Description:
First of all, I am very happy to hear that we have official dev tool support. The bug is that I can't inspect components which i init with component factory resolver in mat-drawer-content component at components side of dev tools.
...
Angular Devtools version (required): 1.0.0
Angular version (required): 11.0.9
Date: 19.05.2021 GMT +03:00
OS: Windows 10 Home 10.0.19042
Demo test application:
Typescript file.
Html File
Description of issue:
As you may see that components that should be produced ,are not shown.
I appericiate your attention on this spesific problem in advance.
The text was updated successfully, but these errors were encountered: