AFFiNE
AFFiNE copied to clipboard
[bug]: Undo will clear all pre-loaded content in Edgeless Mode and sometimes return a blank screen
Describe the bug
No response
To Reproduce
- Enter endless mode
- Add a shape
- Undo
The page content disappears. Keeps on undoing will lead to an all-page white screen.
Screenshots
before undo:
after undo:
undo twice:
Expected behavior
No response
Platform
macOS
Browser
Chrome
Additional context
No response
Recreated.
Directly in the demo - undo led to all preloaded content being removed. When opening a saved doc - from SYNC TO DISK - the whole page turned white - with the toolbar also disappearing.
Looks like a similar issue to #121