-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
Description
Description
On Android devices, when using Baidu Input Method or Sogou Input Method for voice input, if there is no content in the slate input box, the first voice input will be repeated. It's normal if there is content in the input box (even if it's just one space)
Every time the voice input is "hello", but when the input box is empty, "hello hello" appears. It works normally when there is content in the input box (even if there is only one space)
Recording
slate.bug.mp4
Sandbox
Reproducible on the official Rich Text example: https://www.slatejs.org/examples/richtext
Steps
- On an Android device, open Chrome.
- Go to the Slate Rich Text example link above.
- Press and hold the space bar on the keyboard for voice input (e.g., Sogou).
- It's normal to say "hello" when there is content in the input box
- When there is no content in the input box and you say "hello", a bug occurs: "hello" is repeated
Expectation
The content input by long-pressing the voice button in the Android input method cannot be repeated
Environment
- Slate Version: 0.120.0
- OS: android 13
- Browser: Chrome
- Input Method: Sogou Input Method、Baidu Input Method