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

Move onscroll detection #2181

Merged
merged 2 commits into from
Sep 11, 2014
Merged

Move onscroll detection #2181

merged 2 commits into from
Sep 11, 2014

Conversation

zpao
Copy link
Member

@zpao zpao commented Sep 11, 2014

#2175 with the test moved & updated.

Andrew Rasmussen and others added 2 commits September 10, 2014 13:33
Rather than checking if document.onscroll exists in EventPluginHub
(which is agnostic of the DOM) do it in ReactDOMComponent
This moves it to the appropriate place to accomodate the move of the check.
@zpao zpao mentioned this pull request Sep 11, 2014
zpao added a commit that referenced this pull request Sep 11, 2014
@zpao zpao merged commit af485d9 into facebook:master Sep 11, 2014
@syranide
Copy link
Contributor

Why don't we just attach the scroll-event directly to the DOM instead? Like we do for IMG load and error.

@zpao zpao deleted the move-onscroll-detection branch October 30, 2014 01:08
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