Skip to content

[Bug] Undo stack grid disappearance when creating nested grids (Grid B inside Grid A) #8651

@lunalar

Description

@lunalar

Bug Description

  • Operating System: Windows
  • Bug encountered on : AppFlowy application, on Windows (latest available update as of today)
  • Version: Free plan with Cloud hosting
  • Personal Severity: High (3/5)

Description of the issue:

When a new database (Grid B) is created inside a page of another database (Grid A) using the /grid command, two bugs occur:

  • Bug 1 (Minor): Using CTRL + Z to undo an action inside Grid B (in grid view) causes the entire grid to reset to zero, resulting in the loss of existing content.
  • Bug 2 (Critical): Closing the parent page (Grid A) containing the nested grid (Grid B) results in the permanent deletion of Grid B. The grid disappears, the page becomes empty, and it is impossible to restore the data via the trash/recycle bin.

Consequence : It is currently impossible to retain data within a sub-grid integrated into a main grid page.

How to Reproduce

  1. Create a main database (Grid A).
  2. Create a new page within this database.
  3. Open the page, type /grid, and select "Grid - Online" to integrate a new database (Grid B).
  4. Add some data into Grid B.
  5. Close the page containing Grid B.
  6. Reopen the page.

Grid B disappeared from the page containing it. The page is empty, and Grid B's data is unrecoverable.

Expected Behavior

Integrating a grid into a grid page must allow data retention and grid restoration upon reopening the parent page.

Operating System

Windows

AppFlowy Version(s)

Windows App Latest Version

Screenshots

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

2026Q2 26bugSomething isn't workingdatabasethe underlying data of grid, kanban, caleditorfeatures related to the rich-text editor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions