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

Play the reversed animationCurve when bottom sheet is closing #195

Open
jseminck opened this issue Sep 2, 2021 · 3 comments
Open

Play the reversed animationCurve when bottom sheet is closing #195

jseminck opened this issue Sep 2, 2021 · 3 comments

Comments

@jseminck
Copy link

jseminck commented Sep 2, 2021

Hi, I'd like to request a feature to play the reverse of the animationCurve when the bottom sheet is closing. I'm more than happy to help to implement the feature with some guidance, if possible. It would be awesome to understand what the API for it could be and some directions where to look.

For example we can add new property reverseAnimationCurve and if it is set, play that curve on close, if not keep using animationCurve.

@sylvestrevgenhiveon
Copy link

@jamesblasco Also interesting.

@nivisi
Copy link

nivisi commented Sep 2, 2023

@jamesblasco this is a very important feature, actually. Closing the sheet doesn't feel natural without this.

@reyhaan
Copy link

reyhaan commented Jul 20, 2024

I managed something here in this draft PR: #417 , its not perfect but it's still far better then what my previous animation looked like.

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

No branches or pull requests

4 participants