Skip to content

Commit

Permalink
feat($core): disable smoothing scroll by default
Browse files Browse the repository at this point in the history
Will open a new API 'smoothing-scroll' to replace this at next alpha version
  • Loading branch information
ulivz committed Nov 25, 2018
1 parent e8b78c4 commit de72c91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
this.$vuepress.$set('contentMounted', true)

this.$smoothScroll = new SmoothScroll('a[href*="#"]', {
speed: 400,
speed: 1,
speedAsDuration: true,
easing: 'easeInOutCubic'
})
Expand Down

0 comments on commit de72c91

Please sign in to comment.