Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Improve block link scroll positioning on mobile

Danielbd0fbc60517d
diff --git a/app/src/util/uri.ts b/app/src/util/uri.ts
index f1ef3f2778..267038ae93 100644
--- a/app/src/util/uri.ts
+++ b/app/src/util/uri.ts
@@ -45,7 +45,7 @@ const processSiYuanUriBlocks = (app: App, uriObj: URL): boolean => {
});
/// #else
openMobileFileById(app, id, (zoomIn || focus) ? [Constants.CB_GET_FOCUS, Constants.CB_GET_HL, Constants.CB_GET_ALL] :
- [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT, Constants.CB_GET_ROOTSCROLL]);
+ [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT, Constants.CB_GET_ROOTSCROLL], "start");
/// #endif
});
/// #if !BROWSER