🐛(frontend) keep editor mounted when resize window
When resizing the window and crossing the desktop breakpoint, the editor was unmounted. It could lead to loss of data if there were unsaved changes, and tiptap crash if the toolbar was used while the editor was unmounted. It was caused by the ResizableLeftPanel component which was rerendering the editor. We now keep the editor mounted when resizing the window, by keeping the ResizableLeftPanel component rendered but setting its size to 0 and disabling the resize handle.
This commit is contained in:
@@ -21,6 +21,7 @@ and this project adheres to
|
||||
### Fixed
|
||||
|
||||
- 🐛(nginx) fix / location to handle new static pages
|
||||
- 🐛(frontend) rerendering during resize window #1715
|
||||
|
||||
## [4.0.0] - 2025-12-01
|
||||
|
||||
|
||||
Reference in New Issue
Block a user