Skip to content

Views attached inside OnPush components are not checked in some circumstences #52928

Closed

Description

@pkozlowski-opensource

Which @angular/* package(s) are the source of the bug?

core

Is this a regression?

No

Description

Currently attaching a view doesn't mark ancestor views for check. This means that there is no way to get to a new view, even if it is dirty initally.

Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/onpush-dynamic-creation-qxpe1m?file=src%2Fmain.ts

Please provide the exception or error you saw

There is no error but the newly inserted view is not change detected.

Please provide the environment you discovered this bug in (run ng version)

No response

Anything else?

No response

Activity

  1. added this to the needsTriage milestone on Nov 15, 2023
  2. 21 remaining items

  3. deleted a comment from on Dec 14, 2023
  4. added a commit that references this issue on Mar 6, 2024
    a4090e8
  5. added a commit that references this issue on Mar 7, 2024
    ad045ef
  6. angular-automatic-lock-bot commented on Apr 6, 2024

    @angular-automatic-lock-bot

    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.

  7. locked and limited conversation to collaborators on Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions