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

Add ability to customize Bottom Sheet opening and closing animation #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

myronjwells
Copy link

Can now customize the animation of the BottomSheet View opening and closing by adding the optional animation parameter.
When deciding not to provide the animation parameter the default animation is continued left as .interactiveSpring() otherwise it requires an Animation modifier.

Example Video: the custom animation added to Map Settings is set to Animation.spring(response: 0.5, dampingFraction: 2.0, blendDuration: 1.0)

animationExample.mov

@myronjwells myronjwells changed the title Add ability to customize animations Add ability to customize Bottom Sheet opening and closing animation Apr 25, 2021
@weitieda
Copy link
Owner

weitieda commented May 8, 2022

Hey, sorry, I might be bit late... mind release with master and submit again? Thanks

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

Successfully merging this pull request may close these issues.

2 participants