Implement enter end exit animation for Dialog#2596
Merged
Andrei Salavei (ASalavei) merged 16 commits intoDec 8, 2025
Conversation
Andrei Salavei (ASalavei)
added a commit
that referenced
this pull request
Dec 4, 2025
Required due to the introduction of a new API (#2596) that needs to be consumed in material3 ## Release Notes N/A
# Conflicts: # compose/ui/ui/src/skikoMain/kotlin/androidx/compose/ui/window/Dialog.skiko.kt
Ivan Matkov (MatkovIvan)
left a comment
Collaborator
There was a problem hiding this comment.
LGTM in general, just a few minor things
Alexander Maryanovsky (m-sasha)
left a comment
There was a problem hiding this comment.
Can we add a test that validates the crash we had with the previous solution (due to reparenting the content) doesn't happen?
Author
Done |
Ivan Matkov (MatkovIvan)
approved these changes
Dec 4, 2025
Ivan Matkov (MatkovIvan)
left a comment
Collaborator
There was a problem hiding this comment.
LGTM, just styling nitpicks
PS can't wait for adoption of automated formatter check
Alexander Maryanovsky (m-sasha)
approved these changes
Dec 8, 2025
Vendula Švastalová (svastven)
approved these changes
Dec 8, 2025
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.
animateTransitionparameter to theDialogPropertiesFixes https://youtrack.jetbrains.com/issue/CMP-4365/iOS-iOS-Dialog-has-no-enter-and-exit-animation
Animation
iOS:
Simulator.Screen.Recording.-.iPhone.16.-.2025-10-23.at.16.01.19.mp4
Desktop:
Screen.Recording.2025-10-23.at.15.50.47.mov
Comparing with Android:
Screen.Recording.2025-09-01.at.16.03.32.mov
Release Notes
Features - Multiple Platforms
Dialog. It can be disabled viaDialogProperties.animateTransitionor via global feature flagComposeUiFlags.isDialogAnimationEnabled