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
Your SaaS Isn’t Failing — Your Copy Is. User Avatar 63 comments Build AI Agents & SaaS Apps Visually : Powered by Simplita ai User Avatar 30 comments The Future of Automation: Why Agents + Frontend Matter More Than Workflow Automation User Avatar 24 comments No Install, No Cost, Just Code User Avatar 20 comments You don't need to write the same thing again User Avatar 19 comments Let’s Talk: What’s Missing in Today’s App Builders? User Avatar 17 comments