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

Update ScrollResponder.js to use new scrollTo API #5990

Closed
wants to merge 1 commit into from
Closed

Update ScrollResponder.js to use new scrollTo API #5990

wants to merge 1 commit into from

Conversation

JackWink
Copy link
Contributor

scrollResponderInputMeasureAndScrollToKeyboard is the only non-deprecated method in ScrollResponder.js that doesn't use the new scrollTo API. The other method that uses the deprecated API (scrollResponderScrollWithoutAnimationTo) is also deprecated, so it has been left unaltered.

There is one non-deprecated method
(`scrollResponderInputMeasureAndScrollToKeyboard`) that doesn't use the
new `scrollTo` API. This commit squashes the warning.
@facebook-github-bot
Copy link
Contributor

By analyzing the blame information on this pull request, we identified @ericvicenti, @sahrens and @nicklockwood to be potential reviewers.

@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 Feb 17, 2016
@nicklockwood
Copy link
Contributor

@facebook-github-bot shipit

@bestander
Copy link
Contributor

I just approved a duplicate #6012.
I'll close 6012 because this one is more explicit and was first

@facebook-github-bot
Copy link
Contributor

Thanks for importing. If you are an FB employee go to Phabricator to review.

@ghost ghost closed this in 78a9125 Feb 19, 2016
mkonicek pushed a commit that referenced this pull request Mar 1, 2016
Summary:`scrollResponderInputMeasureAndScrollToKeyboard` is the only non-deprecated method in `ScrollResponder.js` that doesn't use the [new `scrollTo` API](6941c4e). The other method that uses the deprecated API (`scrollResponderScrollWithoutAnimationTo`) is also deprecated, so it has been left unaltered.
Closes #5990

Differential Revision: D2953916

Pulled By: nicklockwood

fb-gh-sync-id: d692c598e6b85d1050e58b87146d01b031653a49
shipit-source-id: d692c598e6b85d1050e58b87146d01b031653a49
pglotov pushed a commit to pglotov/react-native that referenced this pull request Mar 15, 2016
Summary:`scrollResponderInputMeasureAndScrollToKeyboard` is the only non-deprecated method in `ScrollResponder.js` that doesn't use the [new `scrollTo` API](facebook@6941c4e). The other method that uses the deprecated API (`scrollResponderScrollWithoutAnimationTo`) is also deprecated, so it has been left unaltered.
Closes facebook#5990

Differential Revision: D2953916

Pulled By: nicklockwood

fb-gh-sync-id: d692c598e6b85d1050e58b87146d01b031653a49
shipit-source-id: d692c598e6b85d1050e58b87146d01b031653a49
This pull request was closed.
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.

4 participants