mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
371a2c82ea
The visitor has a check in it with the goal of preventing the structural directive parent elements from matching when we have already found the candidate we want. However, this code did not check to ensure that it was looking at the correct type of node for this case and was evaluating this logic in places it shouldn't. This special check can be more easily done by simply not traversing the template children if we've already found a candidate on the template node itself. PR Close #40047
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT