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

Description
I can replicate it on the DraftJS demo page by typing a single character (such as "t"), selecting it, then trying to type "t" again. "t" should get replaced, with the selection collapsing after the "t". Instead, this does not happen until I type "t" again. This does not happen if the character is different.
The editorState passed into onChange seems to think its selection's anchorOffset and focusOffset are the same after entering the character, which would be the correct behavior, but this isn't reflected in the selection itself.