-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Closed
Labels
area: commonIssues related to APIs in the @angular/common packageIssues related to APIs in the @angular/common packagearea: coreIssues related to the framework runtimeIssues related to the framework runtimeregressionIndicates than the issue relates to something that worked in a previous versionIndicates than the issue relates to something that worked in a previous versiontype: bug/fix
Description
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request
Current behavior
When you change an object by a new object with properties on a different order an infinite loop may occur.
Expected behavior
Nobody wants an infinite loop :)
Minimal reproduction of the problem with instructions
You can easily see it using ngStyle
an swapping between :
{
width: '10px',
height: '20px'
};
and
{
height: '30px',
width: '20px'
};
Here is a plunker doing just that : https://plnkr.co/edit/nRYa2aNydsKOYS8eaDEq
This is affecting both 2.4.9 and 4.0.0-rc.2 (you can easily swap version on the plunker inside config.js
).
I'll reference that previous issue #9115 which is different but still about KeyValueDiffers
and properties order.
kemsky
Metadata
Metadata
Assignees
Labels
area: commonIssues related to APIs in the @angular/common packageIssues related to APIs in the @angular/common packagearea: coreIssues related to the framework runtimeIssues related to the framework runtimeregressionIndicates than the issue relates to something that worked in a previous versionIndicates than the issue relates to something that worked in a previous versiontype: bug/fix