logseq
logseq copied to clipboard
Toggle open blocks on long page causes two bugs including a crash
What happened?
I tried toggling open blocks on https://docs.logseq.com/#/page/changelog to get an overview of the page. I encountered two bugs
Reproduce the Bug
- Go to https://docs.logseq.com/#/page/changelog page in docs graph
- Run
Toggle open blockscommand to close blocks - First bug: Only first 3 top-level blocks are shown as collapsed and other top level blocks are not visible
- Run
Toggle open blockscommand to open blocks - Encounter crash
Error caught by UI! Error: Assert failed: Each block should have a different left node (= (count blocks) (count (set (map :block/left blocks))))
Expected Behavior
I can close and expand blocks on a long page and see all top-level blocks correctly
Screenshots
No response
Desktop Platform Information
osx 12.0.1
Mobile Platform Information
No response
Additional Context
No response