guopenghui / obsidian-quiet-outline

Improving experience of outline in Obsidian
MIT License
295 stars 17 forks source link

Headings collapse even when forbidden #47

Closed NomarCub closed 1 year ago

NomarCub commented 2 years ago

Even with expand level set to H5 and auto expand and hide unsearched turned off, headings are collapsed sometimes. It looks like with H5 expand level, H2 headings are collapsed for some reason.

guopenghui commented 2 years ago

Under what condition dose it collapse? Can you give more details so I can reproduce it?

NomarCub commented 2 years ago

For example, here I'd expect H2 1 to be expanded. image

These are my settings: image

guopenghui commented 2 years ago

Yes, it's a bug. Switching between notes in the same leaf dosen't change the view object, so outline level is not to be refreshed.

If you want to fix it right now, replace main.js with this: main.zip

guopenghui commented 1 year ago

Fixed in 0.3.3 https://github.com/guopenghui/obsidian-quiet-outline/releases/tag/0.3.3

NomarCub commented 1 year ago

It occurs again. Please reopen and fix this.