facebookarchive/draft-js

Autocapitalize first character does not happen on iOS after pressing 'return'

Open

#642 ouverte le 11 sept. 2016

Voir sur GitHub
 (1 commentaire) (2 réactions) (0 assignés)JavaScript (22 554 stars) (2 646 forks)batch import
help wantedios

Description

To reproduce:

  • Open any of the Draft examples in iOS.
  • Touch the editor area.
  • Start typing. The first character of the sentence is automatically capitalized, which is correct and expected.
  • Type a period and press space. This starts a new sentence, so the next letter typed is again capitalized.
  • Finish the sentence, type a period and then press return. The cursor moves to the next line.
  • Start typing. The first character is not capitalized.

Is it possible to make this work?

Guide contributeur