Skip to content

Components should be able to listen to tap events #436

Closed
@petehunt

Description

@petehunt

Question: how do you use touch events with React?

Answer:

  • Use CommonJS
  • git clone
  • edit ReactDefaultInjection.js to include TapEventPlugin
  • npm install; grunt
  • add React.initializeTouchEvents(true) to your code in the right place

This sucks. Instead I think we should just either put TapEventPlugin on addons or create a react-mobile build which does all this by default.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions