Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

[Bug] Android auto suggestion: inserts duplicate characters, hides content #911

@EmpireJones

Description

@EmpireJones

When I select a suggestion via the android keyboard, sometimes it inserts duplicate characters or temporarily hides the content. Reproduced on https://facebook.github.io/draft-js/

It seems to more consistently occur when you start with no text.

In this first example:

  1. Typed "Wh"
  2. "Pressed "What" suggestion
  3. "Editor showed "WhatW"
    videotogif_2017 01 02_18 36 46

In this second example:

  1. Typed "The following"
  2. deleted it
  3. opened keyboard
  4. pressed "The" suggestion (editor was blank)
  5. opened keyboard
  6. pressed "Hi" suggestion (editor was blank)
  7. opened keyboard
  8. typed "asdf"
  9. pressed "ASDF" suggestion
  10. editor showed "ASDFHiTheT"

videotogif_2017 01 02_18 49 33

What is the expected behavior?
No invisible text or duplicate characters

draft-js 0.9.1
Android chrome version 55.0.2883.91

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions