On Android, cursor movement removes CR and inserts characters
On Android, I ran into a bug. Hard to narrow down what the general problem is. The provided error sequence will: remove CR and insert a character that was not typed.
Steps to Reproduce
- On phone, go to https://trix-editor.org/
- go to the bottom of the page and put cursor at last character
- insert 5 CR to create a bunch of empty lines
- go the the 3rd empty line
- type: abc
- insert cursor between b and c
- type a CR
- type: d
- type a CR your input should look like:
Ab D c
- Move cursor to empty line after c Bug occurs: The display changes (without user interaction) to:
AbcDc
Note: bug does not occur on laptop version.
Note: there seem to be other phone editor bugs, but i could not narrow them down to a simple use case. I have to play with it and find the bug, but then i can't reproduce it. Bold and/or italics mode is something i was playing with and where i first noticed some problems. But this bug's error sequence still happens when italics is off. It's common for the cursor to jump around when i did not move it to that location -- cursor jumped itself.
Some minor bugs:
- On phone, go to https://trix-editor.org/
- go to the bottom of the page and put cursor at last character
- hit the bold menu button. it registers but then reverts back to not bold
Details
- Trix version: https://trix-editor.org/
- Browser name and version: chrome 76.0.3809.132
- Operating system: Android 9 Samsung phone. One UI version: 1.0 Samsung Galaxy A7
This issue has been automatically marked as stale after 90 days of inactivity. It will be closed if no further activity occurs.
leave comment to re-open bug that was closed by stale-bot
Just verified that the bug is still happening on https://trix-editor.org/
Verifying that this bug still exists. Oddly, the bug behavior has changed (for the worse because it's now deleting some of the original characters).
Same sequence as the original bug report. But, in step 10, the output becomes:
A
ccc
So, now the 'b' and the 'D' characters are gone...!
Details Trix version: https://trix-editor.org/ Browser name and version: chrome 88.0.4324.181 Operating system: Android 10 Samsung phone. One UI version: 2.0 Samsung Galaxy A7 (2018)