facebookarchive/draft-js

[iOS] editor loses focus when text composition ends

Open

#626 ouverte le 1 sept. 2016

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)JavaScript (2 646 forks)batch import
help wantedios

Métriques du dépôt

Stars
 (22 554 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

The editor loses focus when I'm typing in Chinese on my iOS device.

Here is the demo draft_composition_bug

condition 1: typing the first word in a new block

  1. start typing
  2. composition starts
  3. select the word (or press the confirm button on the bottom right of the keyboard )
  4. composition ends
  5. text editor loses focus

condition 2

  1. start typing
  2. composition starts
  3. delete everything
  4. composition ends
  5. text editor loses focus

versions ios9 draft-js v0.8.1

Guide contributeur