infinitechess.org icon indicating copy to clipboard operation
infinitechess.org copied to clipboard

Bug- AFK timer not resetting on mobile

Open Naviary2 opened this issue 6 months ago • 1 comments

On mobile, if you go afk long enough, when it's your turn, for the 20s afk-auto-resign timer to kick in, then sometimes if you quick-tap the pieces to move them, being careful to NOT drag the board at all, you can make your move without resetting that timer, and end up losing by disconnection even though it's not your turn anymore.

Lead: Perhaps touch-start events don't reset the timer client-side, but only touch-move events? I could see a rapid tap firing the start event but not the move one. Look inside input.js

Naviary2 avatar Aug 22 '24 03:08 Naviary2