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

Fix backspace behavior on mobile. #327

Open tarehart opened 1 month ago

tarehart commented 1 month ago

From reading the code, I've inferred that the input box has a well-defined initial state that we always reset to: It has a value of "$", and the cursor is always at the end.

In cases where the cursor is NOT at the end as expected, we see two error cases:

I've developed and tested this fix using an android emulator attached to a chrome debug window.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
downforacross.com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2024 8:21pm