Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
leaflet: cursor: avoid first character not updating cursor position
problem: In the android keyboard when you try to erase in an empty area and then enter some character, The first character will likely travel with the cursor, And that is caused because after entering the first character cursor position is never updated by keyboard (I know it is strange) so here we manually correct the position steps to reproduce: 1. type "=sum" in formula bar or an empty odt (or even just "=s" is okay) 2. now tap on backspace for total character +1 times (in this case 5 or 3 times) 3. now type "=s" it will become "s=" but this can be reproduced with any special characters (i.e: }, + etc...) Signed-off-by: Pranam Lashkari <lpranam@collabora.com> Change-Id: I9cc00e5d50d21384155b16b60318090e4de70ac2
- Loading branch information