DEV Community

Discussion on: I am the author of Elm in Action. Ask Me Anything!

Collapse
 
wintvelt profile image
wintvelt

How are you dealing with mobile device support at RedInk? And specifically touch?
Ps Thank you for taking the time to do this AMA!

Collapse
 
rtfeldman profile image
Richard Feldman

About 25% of our users are on tablets, so we always have to keep touch in mind. When possible we've used pointer events (with polyfill) to keep things consistent, but that hasn't always been realistic for some drag-and-drop stuff. We haven't used any touch-related subscriptions yet.

It's still WIP, but you can see some non-polyfilled touch stuff we're doing in github.com/NoRedInk/drag-and-drop - which is already open source, but very unpolished at this point. For example, there's still more JS interop in there than there needs to be. 😄