Skip to content

Autocorrect with external keyboard on Samsung devices inserts duplicate characters on space #4874

@gn-siva-k

Description

@gn-siva-k

Description

When using an external keyboard on Samsung Android devices, triggering autocorrect by pressing Space after typing a partial word causes all characters of the word except the last one to be inserted into the editor — instead of autocorrecting/completing the word. This behavior is reproducible on the official Plate.js playground at platejs.org.

Reproduction URL

No response

Reproduction steps

1. Open https://platejs.org (or any Plate.js editor instance)
2. Connect an external keyboard to a Samsung Android device and use Samsung Browser
3. Start typing a word — e.g., type "hel" (intentional typo)
4. Press Space before finishing or correcting the word

Observe that instead of autocorrecting, the editor inserts something like "helhe" — all characters except the last one — followed by a space

Plate version

49.2.12

Slate React version

0.117.4

Screenshots

Logs

Browsers

Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmobile

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions