We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ca99e1 commit 4e9c030Copy full SHA for 4e9c030
components/Catalog.vue
@@ -66,10 +66,10 @@
66
this.$tool.removeClass(list[i], 'catalog-item-active')
67
}
68
if (scrollTop >= arr[len - 1]) {
69
- this.$tool.addClass(list[len - 1], 'catalog-active')
+ this.$tool.addClass(list[len - 1], 'catalog-item-active')
70
list[i].scrollIntoView()
71
} else {
72
- this.$tool.removeClass(list[len - 1], 'catalog-active')
+ this.$tool.removeClass(list[len - 1], 'catalog-item-active')
73
74
75
})
0 commit comments