We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0f6d3f commit 320e941Copy full SHA for 320e941
src/components/Sticky/index.vue
@@ -67,7 +67,7 @@ export default {
67
handleScroll() {
68
this.width = this.$el.getBoundingClientRect().width
69
const offsetTop = this.$el.getBoundingClientRect().top
70
- if (offsetTop <= this.stickyTop) {
+ if (offsetTop < this.stickyTop) {
71
this.sticky()
72
return
73
}
0 commit comments