DocSectionNav parent scroll problem fixed

pull/3711/head
Bahadır Sofuoğlu 2023-03-08 14:54:09 +03:00
parent c373646a86
commit bcbc2249a7
1 changed files with 1 additions and 1 deletions

View File

@ -84,8 +84,8 @@ export default {
label && label.parentElement.scrollIntoView({ block: 'start', behavior });
},
onButtonClick(doc) {
this.activeId = doc.id;
setTimeout(() => {
this.activeId = doc.id;
this.scrollToLabelById(doc.id, 'smooth');
this.isScrollBlocked = true;
}, 1);