my layout implementation here is handwritten tab navigation (all, essence line). The drop-down refresh provided by WeChat Mini Programs must pull the entire Page page, which will pull down the navigation bar, so it uses the scrolltoupper event of < scroll-view >
.but this event has some disadvantages:
- does not have that bouncing effect
- when you hit the top or bottom, it will not be triggered. You must never pull the distance to 0 when you never reach the top or low end.
- users are easy to mistakenly touch, resulting in refresh. On the contrary, standard pull-up refresh and drop-down refresh cannot be mistakenly touched, and must be slipped by gesture
do you have any good practical experiences to share?