{"action":"created","issue":{"url":"https://api.github.com/repos/basecamp/trix/issues/494","repository_url":"https://api.github.com/repos/basecamp/trix","labels_url":"https://api.github.com/repos/basecamp/trix/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/basecamp/trix/issues/494/comments","events_url":"https://api.github.com/repos/basecamp/trix/issues/494/events","html_url":"https://github.com/basecamp/trix/issues/494","id":304379540,"number":494,"title":"\"speech to text\" input on Android: just recently started to be completely unusable as an input method.  Typing is also broken...","user":{"login":"taigit","id":47608,"avatar_url":"https://avatars0.githubusercontent.com/u/47608?v=4","gravatar_id":"","url":"https://api.github.com/users/taigit","html_url":"https://github.com/taigit","followers_url":"https://api.github.com/users/taigit/followers","following_url":"https://api.github.com/users/taigit/following{/other_user}","gists_url":"https://api.github.com/users/taigit/gists{/gist_id}","starred_url":"https://api.github.com/users/taigit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taigit/subscriptions","organizations_url":"https://api.github.com/users/taigit/orgs","repos_url":"https://api.github.com/users/taigit/repos","events_url":"https://api.github.com/users/taigit/events{/privacy}","received_events_url":"https://api.github.com/users/taigit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-03-12T13:51:50Z","updated_at":"2018-04-03T08:53:40Z","closed_at":null,"author_association":"NONE","body":"Describe the bug or issue here…\r\n\r\nThe 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...\r\n\r\nIn fact, if you just type and start editing that text, it also gets destroyed.   ie: basic editor functionality is broken...\r\nBasically, the editor is not working any more.\r\n\r\nThe text corruption seems to happen for text that was created during the current editing instance.\r\nFor example, if I have a blank form and create text, then editing any of that text will have problems.\r\nBut 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.\r\n\r\nThis 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.\r\n\r\nNote: 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).\r\n\r\n##### Steps to Reproduce\r\n\r\n1.  Use the native Android microphone icon, speak some English, and have Android convert it to text.\r\n2.  Place your cursor in the text that was created.  Hit space bar.  Watch your text being manipulated in unexpected ways.\r\n3. \r\n\r\n##### Details\r\n\r\n* Trix version:  0.11.2\r\n* Browser name and version:  Android chrome.  65.0.3325.109\r\n* Operating system:  Android\r\n\r\nNote: I'm using an old Android phone:  Nexus 5\r\nbut I would expect trix to work on almost all phones.\r\n\r\nTrix 0.11.1 has the same problem.  I upgraded to see if 0.11.2 fixes the problem and it does not.\r\n"},"comment":{"url":"https://api.github.com/repos/basecamp/trix/issues/comments/378177553","html_url":"https://github.com/basecamp/trix/issues/494#issuecomment-378177553","issue_url":"https://api.github.com/repos/basecamp/trix/issues/494","id":378177553,"user":{"login":"taigit","id":47608,"avatar_url":"https://avatars0.githubusercontent.com/u/47608?v=4","gravatar_id":"","url":"https://api.github.com/users/taigit","html_url":"https://github.com/taigit","followers_url":"https://api.github.com/users/taigit/followers","following_url":"https://api.github.com/users/taigit/following{/other_user}","gists_url":"https://api.github.com/users/taigit/gists{/gist_id}","starred_url":"https://api.github.com/users/taigit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taigit/subscriptions","organizations_url":"https://api.github.com/users/taigit/orgs","repos_url":"https://api.github.com/users/taigit/repos","events_url":"https://api.github.com/users/taigit/events{/privacy}","received_events_url":"https://api.github.com/users/taigit/received_events","type":"User","site_admin":false},"created_at":"2018-04-03T08:53:40Z","updated_at":"2018-04-03T08:53:40Z","author_association":"NONE","body":"#469 also produces \"corruption of existing text\" behavior when used on Android.\r\n\r\nSteps to reproduce:\r\n\r\n- use Android phone  chrome. 65.0.3325.109\r\n- add 8 'a' characters:   aaaaaaaa\r\n- put cursor in the middle of the previous 'word'\r\n- type \"enter\" key 2 or 3 times.   \r\n- See corruption of text\r\n"}}
{"actor":{"display_login":"taigit"}}