Removing content on a new Document can remove content on the parent page

Describe the bug
After creating a new Document inside a existing Document a modal is visible. In this modal I can already write some content to the newly created Document. But if I have to remove some content it is also possible to remove content behind the modal. This is happening if the selection starts outside of the modal.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Document.
  2. Open the Document (not as modal) and add some content to the Document.
  3. Add a new Document inside the Document (with /Document).
  4. Write a title and some content to the new Document (opened as modal).
  5. Select some text to remove (start the selection outside of the modal).
  6. Remove the selected content by pressing the backspace or del key.
  7. After closing the modal the some content of the parent Document is lost.

Expected behavior
The content behind the modal should not be selectable or removeable.

System Information:

  • OS: Windows 10 (21H1)
  • Device Manufacturer/Model: Custom (AMD)
  • Anytype Version: 0.22.3
  • Screen Resolution: 2560x1440

Additional context


Yes this issue replicates … Good find !!

@sebro Thank you for your notice! It has been added to the bug tracker

Hey, I can’t reproduce this anymore. Would you check to confirm, if this was fixed in 0.25.0?

Closing this because of no further responses.
Feel free to create a new topic when needed.

This topic was automatically closed after 9 days. New replies are no longer allowed.