mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-01 06:18:49 +01:00
🐛 使用块滚动条跳转到最后一个块时无法加载上面的块 https://github.com/siyuan-note/siyuan/issues/5291
This commit is contained in:
parent
46c4d842f9
commit
9bc1711af8
1 changed files with 1 additions and 1 deletions
|
|
@ -679,7 +679,7 @@ func GetDoc(id string, index int, keyword string, mode int, size int) (blockCoun
|
|||
}
|
||||
|
||||
func loadNodesByMode(node *ast.Node, inputIndex, mode, size int, isDoc, isHeading bool) (nodes []*ast.Node, eof bool) {
|
||||
if 0 == mode /* 仅当前 */ || 2 == mode /* 向下 */ {
|
||||
if 2 == mode /* 向下 */ {
|
||||
next := node.Next
|
||||
if ast.NodeHeading == node.Type && "1" == node.IALAttr("fold") {
|
||||
// 标题展开时进行动态加载导致重复内容 https://github.com/siyuan-note/siyuan/issues/4671
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue