iOS Speech-to-text clears input after pressing the space during speech
オープン
まだ誰も着手していません。
Issue: Author Provided Repro
Newer Patch Available
Platform: iOS
- 主要言語
- C++
- スター
- 127k
- フォーク
- 25.3k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 4
説明
Description
When using TextInput with multiline=true, after using speech-to-text to input text, if you enter Space, The speech-to-text inputted text is deleting.
This flow works well when we use a 1-line TextInput
React Native Version
0.71.11
Output of npx react-native info
System:
OS: macOS 13.4.1
CPU: (10) arm64 Apple M1 Pro
Memory: 5.38 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 14.21.3 - ~/.nvm/versions/node/v14.21.3/bin/node
Yarn: 1.22.19 - ~/Code/node_modules/.bin/yarn
npm: 6.14.18 - ~/.nvm/versions/node/v14.21.3/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.12.1 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
Android SDK:
API Levels: 21, 23, 28, 29, 30, 31, 32, 33
Build Tools: 21.1.2, 28.0.0, 29.0.2, 30.0.0, 30.0.1, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 32.1.0, 33.0.0
System Images: android-28 | ARM 64 v8a, android-31 | ARM 64 v8a, android-32 | Google APIs ARM 64 v8a, android-33 | Google APIs ARM 64 v8a, android-33 | Google Play ARM 64 v8a
Android NDK: 24.0.8215888
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9619390
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
Languages:
Java: 11.0.19 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.11 => 0.71.11
Steps to reproduce
- Run any RN app with a TextInput
- Tap the text input
- On the iOS keyboard, tap the microphone icon
- Say something
- Tap the Space button on the Keyboard
Snack, screenshot, or link to a repository
https://github.com/facebook/react-native/assets/19289032/7cb29d12-15ba-41de-8358-f7288c923f8b
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、報告されている speech-to-text と Space キーのシーケンスを使って、iOS 上の複数行 TextInput で問題を再現します。次に、音声入力と編集に関係する TextInput のネイティブ処理を追跡し、Space を押した後も дик дик дик дик дик дик дик дик
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ios, react-native
- 領域
- mobile
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100