Fix the bug that Obsidian directory jitter

Steps to reproduce

This note library has more than 600 files and more than 100 folders
Expand multiple files, Obsidian the directory list is displayed for a long time, and then click on the folder, the entire directory will jitter.

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

yes

Expected result

Expand multiple folders, and the Obsidian directory is very long, click to expand the folder, the phenomenon of Obsidian directory jitter will not occur

Actual result

The entire directory jitters when you Obsidian expand a folder

Environment

SYSTEM INFO:
Obsidian version: v1.8.10
Installer version: v1.8.4
Operating system: Windows 10 Pro 10.0.19045
Login status: not logged in
Language: zh
Insider build toggle: off
Live preview: on
Base theme: dark
Community theme: Blue Topaz v2023112601
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.


Additional information

故障现象 - Obsidian v1.8.10

Your attached .gif isn’t using the default theme. You need to follow all of the debug steps including no community theme (or CSS snippets).

This fault still occurs after closing the community theme

Environment

SYSTEM INFO:
Obsidian version: v1.8.10
Installer version: v1.8.4
Operating system: Windows 10 Pro 10.0.19045
Login status: not logged in
Language: zh
Insider build toggle: off
Live preview: on
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

Additional information

故障现象-Obsidian v1.8.10

Just to double-check, did you restart Obsidian (or close-open the vault) after switching to the default theme and enabling Restricted mode?


Also, try updating your installer (although I don’t think that will matter much here, but you never know).

Steps to reproduce

I have restarted the Obsidian software and reopened the vault, already using the new installer version. This problem still occurs

Two cases:

  1. There are about 260 lines (including folders and files) in the directory on the left side of the note library. If the folder is expanded or collapsed, the directory jitter still occurs.
  2. After expanding all folders, collapse a few more folders. Expand or collapse folders, still appear directory jitter problem.

Environment

SYSTEM INFO:
Obsidian version: v1.8.10
Installer version: v1.8.10
Operating system: Windows 10 Pro 10.0.19045
Login status: not logged in
Language: zh
Insider build toggle: off
Live preview: on
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

Additional information

故障现象2-Obsidian v1.8.10 2025-05-09
故障现象-Obsidian v1.8.10 2025-05-09

Got it!

I can’t reproduce anything like that in my own vaults or the Sandbox vault.

Let’s see what the team thinks.