mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
978b500961ecc9465eb019eeee02ca7614ae5acb
viewRef that is already present (#34052)
When inserting a `viewRef` it is possible to not provide an `index`, which is regarded as appending to the end of the container. If the `viewRef` already exists in the container, then this results in a move. But there was a fault in the logic that computed where to insert the `viewRef` that did not account for the fact that the `viewRef` was already in the container, so the insertion `index` was outside the bounds of the array. Fixes #33924 PR Close #34052
…
…
Angular
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages.
Quickstart
Changelog
Learn about the latest improvements.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.
Languages
TypeScript
81.7%
JavaScript
12.8%
HTML
2%
Starlark
1.8%
CSS
1%
Other
0.7%