Page 1 of 1

Android and iOS keyboard issue with undo

Posted: Mon Aug 11, 2025 10:48 pm
by whisper1980
Using your Editor2 demo, try this on Android (it does occur on iOS, but nowhere nearly as bad).

Type a few words, but leave the caret at the last word you typed (no space). Now type 3 more non-space chars and then start tapping the Undo more than 3 times. Watch the behavior to what gets undone. You should see the last word eventually get undone as expected, but then it starts coming back. It will do that 3 times before it starts undoing the other words you typed (but may repeat the same behavior). The undo buffer seems to have gone wonky (technical term).

If I have text already loaded, and I place the caret at the end of a word and tap a few chars, the undo will undo the existing word but will come back as you keep hitting the undo, at least on Android (don't see that on iOS).

TRichViewFMX v23
Delphi 12.3

Re: Android and iOS keyboard issue with undo

Posted: Wed Aug 13, 2025 7:51 pm
by Sergey Tkachenko
I need several days to complete the current work and check this issue. Sorry for the delay.

Re: Android and iOS keyboard issue with undo

Posted: Wed Aug 13, 2025 9:43 pm
by whisper1980
No problem... this one is probably not urgent. It was just very weird that a customer might run into, so thought you might want to check it out. On android it did some bad stuff to a table, like delete it, or duplicate some text around the table, not on iOS though.