JedWatson / react-hammerjs

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

React hammer options not working for some properties #69

Open wlingke opened 7 years ago

wlingke commented 7 years ago

For example, if I'd like to set the default:

const hammerOptions = {
  cssProps: {
    userSelect: 'auto',
  },
};

This does not work. Seems like it may be because the code is using Hammer.set and these needs to be passed in the defaults.