Skip to content

Commit de72c91

Browse files
committed
feat($core): disable smoothing scroll by default
Will open a new API 'smoothing-scroll' to replace this at next alpha version
1 parent e8b78c4 commit de72c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vuepress/core/lib/app/root-mixins/updateLoadingState.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
this.$vuepress.$set('contentMounted', true)
77

88
this.$smoothScroll = new SmoothScroll('a[href*="#"]', {
9-
speed: 400,
9+
speed: 1,
1010
speedAsDuration: true,
1111
easing: 'easeInOutCubic'
1212
})

0 commit comments

Comments
 (0)