The input field keeps flickering. Here is where I'm making use of the code (the Editor component). I'm also importing the package with next/dynamic, i do not know if this helps in anyway, Thanks
<Editor
editorState={editorState}
wrapperStyle={{ backgroundColor: "white", height: "300px" }}
onEditorStateChange={setEditorState}
/>
I suggest try trim the problem, in what cases its happening and in what cases wont.
This is the official doc example that should work
import React, { Component } from 'react';
import { EditorState } from 'draft-js';
import { Editor } from 'react-draft-wysiwyg';
const MyEditor = () => {
const [editor, setEditor] = useState(EditorState.createEmpty());
return (
<Editor
editorState={editor}
wrapperClassName="demo-wrapper"
editorClassName="demo-editor"
onEditorStateChange={setEditor}
/>
)
}