Skip to content

Conversation

BobobUnicorn
Copy link
Collaborator

Fixes #29669. This converts parts of the rendering pipeline to use signals which allows Angular to properly detect changes to the underlying data which may be caused by rendering new nodes. rxjs didn't handle this correctly as the data subscriptions were only set after the initial callback was run, causing partial updates.

@BobobUnicorn BobobUnicorn requested a review from a team as a code owner September 17, 2024 19:44
@BobobUnicorn BobobUnicorn requested review from crisbeto and wagnermaciel and removed request for a team September 17, 2024 19:44
@BobobUnicorn BobobUnicorn force-pushed the fix/cdk-tree-synchronous-expansion branch from c1115f6 to 433e357 Compare September 20, 2024 19:36
}

/** @docs-private */
@Directive({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is private, do we need a separate component for it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really sure of another way to hook into the onInit for the directive here, though I think ultimately removing mostRecentTreeNode would solve this issue (e.g. doing data passing through injection)

@BobobUnicorn BobobUnicorn force-pushed the fix/cdk-tree-synchronous-expansion branch from b138b69 to cb4edf0 Compare November 18, 2024 20:40
@BobobUnicorn
Copy link
Collaborator Author

fixed the merge conflict

@examan
Copy link

examan commented Aug 17, 2025

Hi there 👋 Just wanted to gently check in on this PR. It’s been a while since the last update, and I was wondering if there’s anything blocking progress. Totally understand if priorities have shifted—just hoping to keep this on the radar. Thanks again for all the work so far!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(tree): Using cdk-tree with ArrayDataSource and synchronous data, the isExpanded functionality can fail.
3 participants