mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Update DocSectionNav.vue
This commit is contained in:
parent
e8d50fd372
commit
6cd41325d1
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
onScroll() {
|
onScroll() {
|
||||||
if (!this.isScrollBlocked) {
|
if (!this.isScrollBlocked) {
|
||||||
const labels = document.querySelectorAll(':is(h1,h2,h3).doc-section-label');
|
const labels = [...document.querySelectorAll(':is(h1,h2,h3).doc-section-label')].filter((el) => DomHandler.isVisible(el));
|
||||||
|
|
||||||
const windowScrollTop = DomHandler.getWindowScrollTop();
|
const windowScrollTop = DomHandler.getWindowScrollTop();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue