TapDetector

Primitive #72

🔍 Problem it solves

Click events fire even for small finger movements on touchscreens, causing accidental activation.

✅ Solution

TapDetector recognizes a tap when a touch starts and ends within a small distance and time threshold.

🧩 Used by components

Buttons, Cards, List items (mobile), any element that should respond to intentional taps.

🎮 Interactive demo