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 velocity and targetContentOffset for scrollEndDrag event in RCTScrollView #1500

Conversation

flashlizi
Copy link

In some case, it is very useful to have velocity and targetContentOffset parameters for ScrollEndDrag event. I just added them.

@facebook-github-bot facebook-github-bot added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Jun 3, 2015
@sahrens
Copy link
Contributor

sahrens commented Jun 13, 2015

We compute this in js with the PanResponder, but it does seem useful to have the native value as well.

@sahrens
Copy link
Contributor

sahrens commented Jun 13, 2015

@facebook-github-bot import

@facebook-github-bot
Copy link
Contributor

Thanks for importing. If you are an FB employee go to https://our.intern.facebook.com/intern/opensource/github/pull_request/927310640664607/int_phab to review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants