This commit is contained in:
Vanessa 2023-05-17 12:37:56 +08:00
parent 05248d66be
commit fb0c2e3d6a
7 changed files with 26 additions and 24 deletions

View file

@ -47,6 +47,7 @@ const focusStack = async (stack: IBackStack) => {
docIcon: info.data.rootIcon,
callback(tab) {
const scrollAttr = saveScroll(stack.protyle, true);
scrollAttr.rootId = stack.protyle.block.rootID;
scrollAttr.focusId = stack.id;
scrollAttr.focusStart = stack.position.start;
scrollAttr.focusEnd = stack.position.end;