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
Describe the bug
When angular components/directives are nested and use the ContentChildren decorator the inner component/directive
has a reference to itself as part of contentChildren.
When the same code snippet is used in a new angular application the inner component/directive doesn't have a reference to itself. (as it would be expected)
Describe the bug
When angular components/directives are nested and use the ContentChildren decorator the inner component/directive
has a reference to itself as part of contentChildren.
When the same code snippet is used in a new angular application the inner component/directive doesn't have a reference to itself. (as it would be expected)
To Reproduce
A reproduction can be found here
children: [ChildDirective]
is loggedExpected behavior
The ChildDirective should not have any children and therefore log
children: []
Code snippets
System
System:
OS: macOS 11.2.3
CPU: (8) arm64 Apple M1
Binaries:
Node: 15.9.0 - ~/.nvm/versions/node/v15.9.0/bin/node
Yarn: 1.22.10 - ~/.nvm/versions/node/v15.9.0/bin/yarn
npm: 7.5.3 - ~/.nvm/versions/node/v15.9.0/bin/npm
Browsers:
Chrome: 89.0.4389.114
Safari: 14.0.3
npmPackages:
@storybook/eslint-config-storybook: ^2.4.0 => 2.4.0
@storybook/linter-config: ^2.5.0 => 2.5.0
@storybook/semver: ^7.3.2 => 7.3.2
Additional context
I would be happy to help out with this issue if somebody could give me any hints where to start.
The text was updated successfully, but these errors were encountered: