3
0 Comments

📲 What is your experience with supporting touch devices?

I have spend last two weeks working on touch support in OrgPad and it is finally working well and we should be able to release it in couple days: https://www.youtube.com/watch?v=TYj4OuCMCdk. It was quite tricky, especially since one has to recognize multifingure gestures and deal with velocity as well. Originally, I was looking into HammerJS, but it seemed to limited and badly designed, so I decided to write everything from scratch.

What is your approach to deal with touches? Do you just use browser emulation?

There are a few more things I am not sure how to solve yet:

Sometimes touch events are not emitted, so I have no way to detect that gesture ended. This happens in particular when a pinch gesture is ended by lifting one finger and the other finger continues moving: I no longer get its events.

Different devices behave differently, for instance touch feels differently, velocity is either to slow, or two fast. What is the approach to solve this? Device detection and tweaking?

posted to Icon for group Developers
Developers
on August 9, 2020
Trending on Indie Hackers
I built an AI that turns an idea into a live business in under 10 minutes. Here’s what 1,000 launches taught me User Avatar 89 comments Building a startup costs $0. Your tooling budget costs $500K. Here's why. User Avatar 45 comments Stop losing deals in the gap between "sounds good" and getting paid User Avatar 34 comments Building Noodle, a keyboard-first REST client for the terminal User Avatar 34 comments "Looks Good to Me" Is Quietly Killing Your Feedback Loop User Avatar 33 comments 787 tools for developers. 5 for nurses. Two weeks of tracking 14,000 indie launches. User Avatar 29 comments