Problem with collapsing headers in the outliner

I can have quite a few headings on one page. I collapse headings in the outline for easier editing.

Steps to reproduce

  1. Collapse headers in outliner
  2. Do any operation with a heading in the text like delete or add a part of a heading or create a new one

Expected result

Headers in the outliner will remain collapsed

Actual result

In any action, they unrolled

Environment

  • Operating system: win 10
  • Obsidian version: 0.11.0

search/open a feature request