Skip to content

"speech to text" input on Android: just recently started to be completely unusable as an input method. Typing is also broken... #494

Description

@taigit

Describe the bug or issue here…

The bug is very obvious for my phone: if you edit text that was created using "speech to text" input, then your first keystroke inside that text will start destroying the current text...

In fact, if you just type and start editing that text, it also gets destroyed. ie: basic editor functionality is broken...
Basically, the editor is not working any more.

The text corruption seems to happen for text that was created during the current editing instance.
For example, if I have a blank form and create text, then editing any of that text will have problems.
But if I edit an existing chunk of text, then I can successfully insert text into that chunk. But for the newly added text, the process of editing it will cause corruption.

This problem only started to happen for me a few days ago. Before that, there were no problems. My code and the trix library code did not trigger the problem -- they have been unchanged for more than a month. So, my guess is that it was a browser update that triggered the problem.

Note: on my laptop, there are no problems. It's only on my phone that I have problems (and the code is the same for phone and laptop).

Steps to Reproduce
  1. Use the native Android microphone icon, speak some English, and have Android convert it to text.
  2. Place your cursor in the text that was created. Hit space bar. Watch your text being manipulated in unexpected ways.
Details
  • Trix version: 0.11.2
  • Browser name and version: Android chrome. 65.0.3325.109
  • Operating system: Android

Note: I'm using an old Android phone: Nexus 5
but I would expect trix to work on almost all phones.

Trix 0.11.1 has the same problem. I upgraded to see if 0.11.2 fixes the problem and it does not.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions