nearform / react-browser-hooks

React Browser Hooks
https://react-browser-hooks.netlify.com
Other
127 stars 10 forks source link

Touch screen events #23

Open cianfoley-nearform opened 5 years ago

cianfoley-nearform commented 5 years ago

Investigate and implement

Similar to mouse suite

Could be time based to validate touch and hold e.g. for drag start Move Element vs Page (default)

jh3y commented 5 years ago

I think this is likely gesture hooks and not so much touch events. Things like touchmove etc. are handled by synthetic events but something like pinching, swiping could be good hooks.

donovanh commented 5 years ago

The pointer type property may be worth investigating as part of this