Repository navigation
Conversation
The expansion panel, tree and stepper removed their collapsed content only on the next render, after the animation player was reset or destroyed. The content was then painted in place for a frame, e.g. in zoneless applications. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Mocked/no-op tests do not validate the zoneless browser paint-timing fix under real animations, including rapid reversal and synchronous teardown or reentrant completion across carousel, tabs, and stepper.
No open issues 🎉
What changed in this PR
Fixes collapse flicker in zoneless Angular applications by updating rendered content before shared animation cleanup removes animation styles, addressing #17964.
Changes:
- Runs synchronous change detection before toggle-player reset and carousel leave-player destruction.
- Adds regression tests for expansion panels, tree nodes, and both stepper orientations, plus toggle completion ordering.
- Documents the user-visible fixes in the changelog.
| File | Description |
|---|---|
projects/igniteui-angular/tree/src/tree/tree.spec.ts |
Verifies child nodes are removed before collapse-player reset. |
projects/igniteui-angular/stepper/src/stepper/stepper.component.spec.ts |
Verifies content removal before animation cleanup in both orientations. |
projects/igniteui-angular/expansion-panel/src/expansion-panel/toggle-animation-component.ts |
Updates the owner view synchronously before close-player reset. |
projects/igniteui-angular/expansion-panel/src/expansion-panel/toggle-animation-component.spec.ts |
Tests change-detection ordering and post-destruction behavior. |
projects/igniteui-angular/expansion-panel/src/expansion-panel/expansion-panel.spec.ts |
Verifies panel-body removal before close-player reset. |
projects/igniteui-angular/carousel/src/carousel/carousel-base.ts |
Moves leave completion and view updates ahead of player destruction. |
CHANGELOG.md |
Records expansion-panel, stepper, and tree flicker fixes. |
Review effort: Balanced
mddragnev
approved these changes
Nov 13, 2026
1 of 23 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #17964
Description
Motivation / Context
Type of Change (check all that apply):
Component(s) / Area(s) Affected:
How Has This Been Tested?
Test Configuration:
Screenshots / Recordings
Checklist:
feature/README.MDupdates for the feature docsREADME.MDCHANGELOG.MDupdates for newly added functionalityng updatemigrations for the breaking changes (migrations guidelines)