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:
User enters a letter, the change handler fires with input like "a$", and "$" is incorrectly entered in the grid.
User attempts to backspace, and the change handler does not fire at all because the cursor was at position 0 (Fixes #317)
I've developed and tested this fix using an android emulator attached to a chrome debug window.
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.