Dialpad digits now register on touch devices

Fixkamo-internal
Ya
26 Aprili 2026, 21:04 UTC
Mwandishi
kamo
Ahadi ya
8395893

The dialpad buttons called e.preventDefault() in both onTouchStart and onTouchEnd. That stops the browser from firing the synthetic click event that follows a touch — so onClick={handleDialpadClick} never ran on tablets, and tapping a key never appended the digit to the dial display. Mouse path was unaffected because mouse events don't go through that gate. Drop the preventDefault from onTouchStart/onTouchCancel, and on onTouchEnd keep preventDefault (to suppress iOS long-press selection) while explicitly invoking handleDialpadClick so the digit still lands.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei