Lists folding collapses too many lines

Steps to reproduce

Translated using an online translator.

  1. First, create a file with the following contents (in sandbox base or in regular one)
- [ ] Text1
	- Text2
		- Text3
- [ ] Text4
  1. Then collapse the contents of the Text2 list
  2. Go to read mode
  3. Go to edit mode

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

Yes.

Expected result

I expected to see the same thing that was displayed initially in edit mode. Namely, a collapsed Text3 entry and a non-collapsed Text4 entry

Actual result

Along with the Text3 entry, the Text4 entry has also been collapsed, even though Text4 is not a nested entry in the Text2 list

Environment

SYSTEM INFO:
Obsidian version: 1.12.4
Installer version: 1.5.8
Operating system: Windows 10 Home Single Language 10.0.19045
Login status: logged in
Language: ru
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none


Additional information

All the steps that were above, but now in the form of screenshots

  1. Creating file

  2. Collapsing Text2 list

  3. Switching to read mode

  4. Switching to edit mode

  5. Text4 collapsed

1 Like

Seems like the same as:

I’m sorry, I tried to find this issue in the bug-reports, but I must have overlooked it. Thank you for pointing out that it’s a duplicate. In that case, should I delete my bug-report?

Don’t know. :person_shrugging: Maybe a mod will merge it or mark it as done. I just wanted you to know the bug is known and that you weren’t alone in dealing with it.

It’s probably good that you responded to say you see it as a duplicate though, to make it a little easier on the mod who comes along to resolve it.

1 Like