facebookarchive/draft-js

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

Open

#642 aperta il 11 set 2016

Vedi su GitHub
 (1 commento) (2 reazioni) (0 assegnatari)JavaScript (2646 fork)batch import
help wantedios

Metriche repository

Star
 (22.554 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor