fix(mobile): scroll optimization (#8362)

close AF-1421, AF-1418, AF-1423, AF-1358
This commit is contained in:
CatsJuice
2024-09-24 03:51:09 +00:00
parent e02d450e4f
commit 9eae3de1ae
10 changed files with 69 additions and 43 deletions

View File

@@ -96,8 +96,8 @@ export function useNavigateHelper() {
);
const openPage = useCallback(
(workspaceId: string, pageId: string) => {
return jumpToPage(workspaceId, pageId);
(workspaceId: string, pageId: string, logic?: RouteLogic) => {
return jumpToPage(workspaceId, pageId, logic);
},
[jumpToPage]
);