draft-js icon indicating copy to clipboard operation
draft-js copied to clipboard

Support Dictation on iOS

Open skhavari opened this issue 7 years ago • 5 comments

New Feature Request

Repro

  1. Create a vanilla draft-js app
  2. Open it with chrome/safari on ios
  3. Give the editor focus
  4. After the keyboard pops up, press the microphone button on the keyboard
  5. Start dictating

Expect

  1. Dictated text to work as if the content was entered with the keyboard.

Actual

  1. In most cases, especially after you say new line text entry becomes invisible. After you dismiss the dictation by pressing done, the text does get added but becomes impossible to edit or delete.

(ps: do you expect keyboard modifiers [ctrl/opt/cmd] to work on iOS with an external keyboard? they currently do not).

Env

  1. Tip of master for react/draft-js
  2. Latest chrome for iOS
  3. Latest safari for iOS

skhavari avatar Oct 31 '16 20:10 skhavari

Looks like you can repro this on facebook.com also

  1. Login to your facebook.com account on chrome/safari on an ipad
  2. Click to update your status
  3. Select the microphone and dictate away.

You get the same behavior in draft-js as you do on fb.

skhavari avatar Nov 01 '16 00:11 skhavari

That's very unfortunate that it's still a bug.

thehappycoder avatar Jun 06 '19 01:06 thehappycoder

Unfortunately this is still an issue. Any plans on looking into this? Would be great!

NicolasNelson89 avatar Jul 24 '20 10:07 NicolasNelson89

This still seems to be an issue in 2021. Can someone please confirm if there is a plan to support this? Looks like a lot of our mobile users tend to use dictation on their keyboards, and the non-ability to remove characters is a bigger problem than we think.

apurvamistry avatar Apr 05 '21 09:04 apurvamistry

This is a big issue for us. Any pointers on where to look in the code to address?

dandiep avatar Jun 08 '22 23:06 dandiep