From 267da68ef78a09a8cbec79c0e1854ba7c0d1c352 Mon Sep 17 00:00:00 2001 From: Nathan Hunzaker Date: Sat, 9 Dec 2017 15:33:42 -0500 Subject: [PATCH 01/17] Locally attach wheel, scroll and touch events --- fixtures/dom/src/components/Header.js | 1 + .../src/components/fixtures/scroll/index.js | 72 +++++++++++++++++++ .../ReactBrowserEventEmitter-test.internal.js | 43 +++++++++-- .../src/__tests__/ReactDOMComponent-test.js | 15 ++++ .../react-dom/src/client/ReactDOMComponent.js | 22 +++--- .../src/events/ReactBrowserEventEmitter.js | 30 +++++--- 6 files changed, 159 insertions(+), 24 deletions(-) create mode 100644 fixtures/dom/src/components/fixtures/scroll/index.js diff --git a/fixtures/dom/src/components/Header.js b/fixtures/dom/src/components/Header.js index de71a7dca606b..fd4efbe96e0cb 100644 --- a/fixtures/dom/src/components/Header.js +++ b/fixtures/dom/src/components/Header.js @@ -67,6 +67,7 @@ class Header extends React.Component { +