Open wenleiwang opened 2 months ago
滚动到相应位置没有激活,看效果图:
但是点击有激活的样式,看效果图:
请问如何开启滚动监听,锚点定位的目录根据文章浏览位置,目录高亮相应标题)
滚动到相应位置没有激活,看效果图:![image](https://github.com/dingshaohua-com/vuepress-theme-sidebar/assets/39472071/546c1948-8a6e-4743-aed2-a895c9a826c1)
但是点击有激活的样式,看效果图:![image](https://github.com/dingshaohua-com/vuepress-theme-sidebar/assets/39472071/dc8a039e-f23c-46a7-a440-41c913a2a4d6)
请问如何开启滚动监听,锚点定位的目录根据文章浏览位置,目录高亮相应标题)