react-editor-js icon indicating copy to clipboard operation
react-editor-js copied to clipboard

Compatibility issue with react-router-dom

Open ThreePalmTrees opened this issue 1 year ago • 0 comments

Environment

  • @editorjs/editorjs version: 2.28.2
  • react-editor-js version: 2.1.0

CodeSandbox

https://codesandbox.io/p/sandbox/react-editor-js-v2-forked-rpg3yt

Describe

Using react-editor-js with react-router-dom v6.20.1 displays the editor for a split second, then it's removed. Removing react-router-dom renders the editor correctly.

In the CodeSandbox link, click the button (go to /editor and go to root /) to see the behaviour.

ThreePalmTrees avatar Dec 18 '23 15:12 ThreePalmTrees