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 IE8 onscroll check #2175

Closed
wants to merge 1 commit into from
Closed

Conversation

arasmussen
Copy link

Rather than checking if document.onscroll exists in EventPluginHub
(which is agnostic of the DOM) do it in ReactDOMComponent

Rather than checking if document.onscroll exists in EventPluginHub
(which is agnostic of the DOM) do it in ReactDOMComponent
@sophiebits
Copy link
Collaborator

lgtm. This might live better in a didPutListener hook in SimpleEventPlugin but I think my diff adding that was reverted and hasn't been reapplied yet.

@jordwalke
Copy link
Contributor

Nice! It's great to get all of the dom references out of the event plugin which is very agnostic to the context it's running in (or should be).

@zpao
Copy link
Member

zpao commented Sep 10, 2014

👍 @arasmussen want to fix the test we have for this error?

@zpao zpao mentioned this pull request Sep 11, 2014
@zpao
Copy link
Member

zpao commented Sep 11, 2014

Moving over to #2181 with an extra commit for the tests.

@zpao zpao closed this Sep 11, 2014
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.

4 participants