Title does not disappear from outline after note is closed

Once you’ve done the above, delete everything above this line.

Steps to reproduce

  • Open a note
  • Open the outline and pin it (for convenience, this issue is not dependent on this)
  • The text at the top of the outline is the text of the note
  • Close the note

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

Show an empty state or somehow indicate that no note is open. On desktop the title disappears from the outline when you close the note, that behavior would be great.

Actual result

The note title remains in the outline, but the wordcount changes to 0 words, 0 characters.

Environment

SYSTEM INFO:
Operating system: ios 16.5.1 (Apple iPad)
Obsidian version: 1.4.6 (105)
API version: v1.3.5
Login status: logged in
Catalyst license: none
Live preview: off
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on


Additional information


Video: wrong-title-in-outline.mp4 - Droplr

This feels like something that is important to fix as it makes it seem like you lost data.