[Bug]: Error when unmounting editor #6163
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Affected Packages
core, react
Version(s)
2.11.5
Bug Description
When I have a toggle button which shows/hides the editor, I get a white page after hiding (removing from dom) the editor
Here is the project for reproduction: https://stackblitz.com/edit/vitejs-vite-bdddk5ua?file=src%2FTiptap.tsx
Browser Used
Chrome
Code Example URL
https://stackblitz.com/edit/vitejs-vite-bdddk5ua?file=src%2FTiptap.tsx
Expected Behavior
Should not break the app
Additional Context (Optional)
No response
Dependency Updates
The text was updated successfully, but these errors were encountered: