Replies: 4 comments 1 reply
-
What would you like the actual behavior to be like? |
Beta Was this translation helpful? Give feedback.
0 replies
-
To me, it seems reasonable to have scrim and sheet exit animations running in parallel, just like when opening a sheet. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Let me see what I can do. It is indeed annoying having to wait for the scrim animation to end. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Done. This will be available in the next release. Much better! dismiss.mp4 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When opening a bottom sheet, the scrim is animated in parallel with the sheet – the background fades while the sheet slides;
However, when closing the sheet, the scrim is animated only after full closure – the background stays faded while the sheet slides, and only after it went away the fade out animation is started.
I think this is a bug, as it looks out of pace and also makes the closure longer, which is annoying from the user perspective.
Here is the video showing a sheet opening and closing in a loop. You can see enter animations are parallel, while exit ones are sequential:
Screen_Recording_20250726_111954_4Money.mp4
Here is a code snippet from the video: https://gist.github.com/Radiokot/8db76685fa0662df3b0ed791a09f83ba
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions