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 ce1d47e commit 8e40e4dCopy full SHA for 8e40e4d
src/packages/__VUE/sticky/index.taro.vue
@@ -65,7 +65,7 @@ export default create({
65
emit('change', val)
66
}
67
)
68
- if (props.scrollTop !== -1) {
+ if (props.scrollTop === -1) {
69
usePageScroll(handleScroll)
70
} else {
71
watch(() => props.scrollTop, handleScroll)
0 commit comments