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

Make ResponderEventPlugin work with DOM renderer (not in working state) #4303

Closed
wants to merge 4 commits into from

Commits on Jul 6, 2015

  1. ResponderEventPlugins needs dependencies to work

    ReactBrowserEventEmitter.listenTo loops on the dependencies array in
    order to setup the right listeners for the plugin.
    Clément Vollet committed Jul 6, 2015
    Configuration menu
    Copy the full SHA
    b75ac29 View commit details
    Browse the repository at this point in the history
  2. Fix ResponderTouchHistoryStore for DOM events

    There is no method forEach on the changedTouches property of the touch
    native events. The changeTouches property is a TouchList which is not
    an Array.
    Clément Vollet committed Jul 6, 2015
    Configuration menu
    Copy the full SHA
    3dabca8 View commit details
    Browse the repository at this point in the history
  3. Fix timestamp not being set on touches

    This is a bad fix imo, because the problem lies more in the
    discrepancies between the React Native events and the W3C events.
    
    But at least it allows us to use the responder plugin…
    
    Also note that using event.timeStamp can be problematic on iOS 8
    webview, as seen here:
    zilverline#19
    Clément Vollet committed Jul 6, 2015
    Configuration menu
    Copy the full SHA
    3a4470c View commit details
    Browse the repository at this point in the history
  4. Add PanResponder from react-native

    This is working for touch events, but fails miserably on mouse events
    (which is the expected result right now).
    Clément Vollet committed Jul 6, 2015
    Configuration menu
    Copy the full SHA
    a4fe380 View commit details
    Browse the repository at this point in the history