toeverything / AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

Home Page:https://affine.pro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug]: Undo will clear all pre-loaded content in Edgeless Mode and sometimes return a blank screen

doodlewind opened this issue · comments

Describe the bug

No response

To Reproduce

  1. Enter endless mode
  2. Add a shape
  3. Undo

The page content disappears. Keeps on undoing will lead to an all-page white screen.

Screenshots

before undo:
image

after undo:
image

undo twice:

image

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

Undo & redo functionality, as well as history of operations have been significantly improved in the latest release.