downforacross / downforacross.com

Web frontend for downforacross.com -- continuation of stevenhao/crosswordsio
https://downforacrosscom.downforacross1.now.sh
MIT License
220 stars 92 forks source link

Backspace doesn't consistently go to previous cell on Android #317

Open tarehart opened 2 months ago

tarehart commented 2 months ago

Hello, love the website! I noticed an annoyance on Android that doesn't seem to exist on desktop.

Expectation: Backspace will delete a letter and highlight the previous cell, so that I can spam backspace to delete entire words.

Behavior: Backspace deletes the letter, but the same cell (now empty) remains highlighted. Further taps of backspace accomplish nothing.

Video of the bug: https://photos.app.goo.gl/jF3jJNjKbCKPwTxFA

Android 14; Pixel 6 Build/AP1A.240405.002 Chrome 124.0.6367.54

I reckon this code is relevant: https://github.com/downforacross/downforacross.com/blob/98004d8f78a77ddbbdd8f50526c65e51a995756f/src/components/Player/GridControls.js#L368-L375

tarehart commented 2 months ago

Unable to reproduce on desktop chrome, even if I use device emulation in the debug tools.

Was able to reproduce in a full Android emulator:

Only the backspace in the emulator's on-screen keyboard can trigger it.