Mini Program onPageScroll is invalid

Mini Program onPageScroll is invalid
this method does not need to bind?
has encountered this kind of problem boss solution
later personally tested, the page occupied full screen traversal to remove has the effect.
but I do not know how to deal with. Solve

Mar.25,2021

this depends on your css. You should set the whole screen to slide


onPageScroll must take effect when your content exceeds one screen
you set it up and try it

page{
  width: 100%;
  height: 120%;
}

you can refer to this wechatide://minicode/80RK0fmz7w34
my project takes effect when an overflow:auto, is removed from the outermost layer

Menu