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

feat: added onAnimate callback #91

Merged
merged 5 commits into from
Dec 1, 2020
Merged

Conversation

gorhom
Copy link
Owner

@gorhom gorhom commented Dec 1, 2020

closes #82

Motivation

This will allow user to have more control over what action to take whenever the sheet is about to animate to a point.

type onAnimate = (fromIndex: number, toIndex: number) => void

@gorhom gorhom added the v2 Written in Reanimated v1 label Dec 1, 2020
@gorhom gorhom merged commit 2e77932 into master Dec 1, 2020
@gorhom gorhom deleted the feature/add-on-animate-callback branch December 1, 2020 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2 Written in Reanimated v1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Close Keyboard in sync with dismissing BottomSheet
1 participant