What you need to do to get an error?
I use the React version higher or equal to 16
"dependencies": {
"draft-js": "^0.10.5",
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
Сreate a simple component
class App extends React.Component {
constructor(props) {
super(props);
this.state = {editorState: EditorState.createEmpty()};
this.onChange = (editorState) => this.setState({editorState});
}
render() {
return (
<Editor editorState={this.state.editorState} onChange={this.onChange} />
);
}
}
Open the result on the phone or tablet
I use: Android 5.1.1; Nexus 7 Build/LMY47V; Google Chrome 74.0.3729.157;
But the error is reproduced on newer versions of Android.
Error life cycle
- I write any text
- At the end of the paragraph I press Enter
- I click Backspace and again Enter
After which the page falls

Console errors
DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.

If you use the React version below 16, then there is no such error.