JedWatson / react-hammerjs

ReactJS / HammerJS integration. Support touch events in your React app.
MIT License
937 stars 129 forks source link

Pan default recognizer is incorrect #89

Open SerejadexXx opened 6 years ago

SerejadexXx commented 6 years ago

According to http://hammerjs.github.io/recognizer-pan/ default value to direction should be DIRECTION_ALL but in preset DIRECTION_HORIZONTAL is set (line 2203 [PanRecognizer, {direction: DIRECTION_HORIZONTAL}, ['swipe']]).