diff --git a/src/tabs/index.js b/src/tabs/index.js index 23b8a4fb5..177ff59ea 100644 --- a/src/tabs/index.js +++ b/src/tabs/index.js @@ -120,7 +120,7 @@ export default createComponent({ // scroll to correct position if (this.stickyFixed) { - setRootScrollTop(getElementTop(this.$el) - this.offsetTop); + setRootScrollTop(Math.ceil(getElementTop(this.$el) - this.offsetTop)); } } },