diff --git a/src/sticky/index.js b/src/sticky/index.js index 2e1112b76..b42aac779 100644 --- a/src/sticky/index.js +++ b/src/sticky/index.js @@ -62,7 +62,7 @@ export default createComponent({ this.height = this.$el.offsetHeight; const { container, offsetTop } = this; - const scrollTop = getScrollTop(this.scroller); + const scrollTop = getScrollTop(window); const topToPageTop = getElementTop(this.$el); const emitScrollEvent = () => {