facebookarchive/draft-js

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

Open

#642 opened on Sep 11, 2016

View on GitHub
 (1 comment) (2 reactions) (0 assignees)JavaScript (2,646 forks)batch import
help wantedios

Repository metrics

Stars
 (22,554 stars)
PR merge metrics
 (No merged PRs in 30d)

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?

Contributor guide