AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

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

Open doodlewind opened this issue 1 year ago • 2 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

doodlewind avatar Aug 13 '22 00:08 doodlewind

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.

ShortCipher5 avatar Aug 15 '22 06:08 ShortCipher5

Looks like a similar issue to #121

ShortCipher5 avatar Aug 15 '22 07:08 ShortCipher5