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
This Week in AI: The Gap Is Getting Clearer User Avatar 45 comments 1 small portfolio change got me 10x more impressions User Avatar 28 comments AI Is Destroying the Traditional Music Business and Here’s Why. User Avatar 22 comments A Tiny Side Project That Just Crossed 100 Users — And Somehow Feels Even More Real Now User Avatar 13 comments From 1k to 12k visits: all it took was one move. User Avatar 11 comments Tell me what your business does, I’ll show you the growth loops you’re probably missing. User Avatar 10 comments