Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(material/stepper): switch away from animations module #30314

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

crisbeto
Copy link
Member

Reworks the stepper so it uses CSS directly to animate, instead of going through the animations module. This both simplifies the setup and allows us to avoid the issues that come with the animations module.

@crisbeto crisbeto added the target: minor This PR is targeted for the next minor release label Jan 13, 2025
@crisbeto crisbeto requested a review from a team as a code owner January 13, 2025 11:12
@crisbeto crisbeto requested review from mmalerba and wagnermaciel and removed request for a team January 13, 2025 11:12
@crisbeto crisbeto force-pushed the stepper-no-animations branch from 8604c78 to f8ec0cc Compare January 13, 2025 11:18
@crisbeto crisbeto requested a review from andrewseguin January 13, 2025 11:26
@crisbeto crisbeto force-pushed the stepper-no-animations branch 2 times, most recently from 73bb3e6 to a853634 Compare January 13, 2025 15:55
Copy link
Contributor

@wagnermaciel wagnermaciel left a comment

Choose a reason for hiding this comment

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

LGTM with one request for clarification

@crisbeto crisbeto force-pushed the stepper-no-animations branch 7 times, most recently from 93169b2 to 99e243d Compare January 14, 2025 19:24
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Jan 15, 2025
Reworks the stepper so it uses CSS directly to animate, instead of going through the animations module. This both simplifies the setup and allows us to avoid the issues that come with the animations module.
@crisbeto crisbeto force-pushed the stepper-no-animations branch from 99e243d to a2d0218 Compare January 15, 2025 12:31
@crisbeto crisbeto merged commit 1e56636 into angular:main Jan 16, 2025
18 of 20 checks passed
@pedroestabruxelles
Copy link

@crisbeto is it possible to have those animations reusable, like in a mixin or something? For the folks that were consuming the animations module.

@crisbeto
Copy link
Member Author

We sort of tried this before with exporting the animation definitions and it didn't end up being super useful, because the animations are very much tied to our DOM structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: material/stepper target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants