mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ab415f3d7f
When a directive injects a `ViewContainerRef`, the runtime inserts a container that was throwing off the logic that recognizes native controls. These changes switch to check if the node is a native control through the `TNode`. This also makes it a bit less prone to breaking during SSR. Fixes #64362. PR Close #64368