mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
DocSectionNav parent scroll problem fixed
This commit is contained in:
parent
c373646a86
commit
bcbc2249a7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue