Skip to content

Remove onScrollAnimationEnd - #15156

Closed
tomasreimers wants to merge 4 commits into
react:masterfrom
tomasreimers:patch-6
Closed

Remove onScrollAnimationEnd#15156
tomasreimers wants to merge 4 commits into
react:masterfrom
tomasreimers:patch-6

Conversation

@tomasreimers

Copy link
Copy Markdown
Contributor

No description provided.

@facebook-github-botfacebook-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 Jul 23, 2017

@sherginshergin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And we also have to remove all mentions of it from ScrollView.js.

.put(ScrollEventType.SCROLL.getJSEventName(), MapBuilder.of("registrationName", "onScroll"))
.put(ScrollEventType.BEGIN_DRAG.getJSEventName(), MapBuilder.of("registrationName", "onScrollBeginDrag"))
.put(ScrollEventType.END_DRAG.getJSEventName(), MapBuilder.of("registrationName", "onScrollEndDrag"))
.put(ScrollEventType.ANIMATION_END.getJSEventName(), MapBuilder.of("registrationName", "onScrollAnimationEnd"))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also have to remove ANIMATION_END from ScrollEventType.

@tomasreimers

Copy link
Copy Markdown
ContributorAuthor

Welp, that's why we have CR. Totally missed two. Fixed!

@shergin

Copy link
Copy Markdown
Contributor

Great! I will land it tonight.

@facebook-github-botfacebook-github-bot added GH Review: accepted Import Started This pull request has been imported. This does not imply the PR has been approved. and removed GH Review: review-needed labels Jul 24, 2017
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@shergin has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@shergin has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.Import StartedThis pull request has been imported. This does not imply the PR has been approved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@tomasreimers@shergin@facebook-github-bot