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.
Description
Languages
TypeScript
68.6%
HTML
12.8%
JavaScript
8.4%
Pug
7%
Starlark
1.4%
Other
1.7%