Skip to content

Fix projected change detection - #16592

Closed
tbosch wants to merge 2 commits into
angular:masterfrom
tbosch:fix_projected_cd
Closed

tbosch wants to merge 2 commits into
angular:masterfrom
tbosch:fix_projected_cd

Conversation

@tbosch

@tbosch tbosch commented May 5, 2017

Copy link
Copy Markdown
Contributor

No description provided.

… component is dirty checked.

Previously a projected view was only dirty checked when the 
component in which it was inserted was dirty checked.

This fix changes the behavior so that a view is also dirty checked if
the declaring component is dirty checked.

Note: This does not change the order of change detection,
only the fact whether a projected view is dirty checked or not.

Fixes angular#14321
@vicb vicb added area: core Issues related to the framework runtime action: merge The PR is ready for merge by the caretaker labels May 6, 2017
@tbosch tbosch removed the action: merge The PR is ready for merge by the caretaker label May 8, 2017
This also clarifies via a test 
that we only update projected views when the view is created or destroyed,
but not when it is attached/detached/moved.

Fixes angular#15578
@tbosch
tbosch force-pushed the fix_projected_cd branch from 55920bf to 1b32dd7 Compare May 8, 2017 15:53
@tbosch tbosch added the action: merge The PR is ready for merge by the caretaker label May 8, 2017
mhevery pushed a commit to mhevery/angular that referenced this pull request May 8, 2017
… component is dirty checked. (angular#16592)

Previously a projected view was only dirty checked when the
component in which it was inserted was dirty checked.

This fix changes the behavior so that a view is also dirty checked if
the declaring component is dirty checked.

Note: This does not change the order of change detection,
only the fact whether a projected view is dirty checked or not.

Fixes angular#14321
@mhevery mhevery closed this in f0f6544 May 8, 2017
jasonaden pushed a commit to jasonaden/angular that referenced this pull request May 10, 2017
… component is dirty checked. (angular#16592)

Previously a projected view was only dirty checked when the
component in which it was inserted was dirty checked.

This fix changes the behavior so that a view is also dirty checked if
the declaring component is dirty checked.

Note: This does not change the order of change detection,
only the fact whether a projected view is dirty checked or not.

Fixes angular#14321
jasonaden pushed a commit to jasonaden/angular that referenced this pull request May 10, 2017
…gular#16592)

This also clarifies via a test 
that we only update projected views when the view is created or destroyed,
but not when it is attached/detached/moved.

Fixes angular#15578

PR Close angular#16592
@tbosch
tbosch deleted the fix_projected_cd branch May 17, 2017 16:29
asnowwolf pushed a commit to asnowwolf/angular that referenced this pull request Aug 11, 2017
… component is dirty checked. (angular#16592)

Previously a projected view was only dirty checked when the
component in which it was inserted was dirty checked.

This fix changes the behavior so that a view is also dirty checked if
the declaring component is dirty checked.

Note: This does not change the order of change detection,
only the fact whether a projected view is dirty checked or not.

Fixes angular#14321
asnowwolf pushed a commit to asnowwolf/angular that referenced this pull request Aug 11, 2017
…gular#16592)

This also clarifies via a test 
that we only update projected views when the view is created or destroyed,
but not when it is attached/detached/moved.

Fixes angular#15578

PR Close angular#16592
juleskremer pushed a commit to juleskremer/angular that referenced this pull request Aug 28, 2017
… component is dirty checked. (angular#16592)

Previously a projected view was only dirty checked when the
component in which it was inserted was dirty checked.

This fix changes the behavior so that a view is also dirty checked if
the declaring component is dirty checked.

Note: This does not change the order of change detection,
only the fact whether a projected view is dirty checked or not.

Fixes angular#14321
juleskremer pushed a commit to juleskremer/angular that referenced this pull request Aug 28, 2017
…gular#16592)

This also clarifies via a test 
that we only update projected views when the view is created or destroyed,
but not when it is attached/detached/moved.

Fixes angular#15578

PR Close angular#16592
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 11, 2019
adhambaouz pushed a commit to adhambaouz/angular that referenced this pull request Nov 20, 2026
…gular#16592)

This also clarifies via a test 
that we only update projected views when the view is created or destroyed,
but not when it is attached/detached/moved.

Fixes angular#15578

PR Close angular#16592
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants