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
From building client websites to launching my own SaaS — and why I stopped trusting GA4! User Avatar 39 comments I built a tool that turns CSV exports into shareable dashboards User Avatar 33 comments The “Open → Do → Close” rule changed how I build tools User Avatar 31 comments I lost €50K to non-paying clients... so I built an AI contract tool. Now at 300 users, 0 MRR. User Avatar 23 comments Everyone is Using AI for Vibe Coding, but What You Really Need is Vibe UX User Avatar 23 comments Learning Rails at 48: Three Weeks from Product Owner to Solo Founder User Avatar 19 comments