Comments (4)
上拉加载如果需要一定的阈值才去触发的话用bottom-load-method
这个prop接口,上拉下拉这两个接口的阀值都是可配置的,后面那个问题不是很理解
from vue-pull-to.
我用的没任何问题,你最后那句问题在于你高度 没有设置 100%吧
from vue-pull-to.
@shx1545 你好,你说的是pull-to 组件的直接父级吗?
下图是pull-to 的父级设置了高度100%
@stackjie 感谢答复。我表述可能有问题,这里纠正下,意思是:下拉动作(在顶部往下拖的动作,top-load-method | 顶部下拉时执行的方法),在pull-to 组件上 按住下拉,就会触发,不管是不是阈值设定多,一在上面下拉就会触发,但实际情况需求是,需要看到顶部的导航栏才会下拉执行事件。否则,用户使用手势往下拉滚动到底部的时候就会加载,这样的话,假如页面很长,用户就回不到顶部了。
如果还不太理解的我意思的话,稍后我可以做个录屏啊
from vue-pull-to.
@veaba 可以发下录屏看看
from vue-pull-to.
Related Issues (20)
- 滚动列表定位 HOT 1
- ios滑动问题
- ios第一次滑动不了
- ios滑动问题 HOT 1
- 希望支持横向滚动
- 希望提供 pulldown() pullup() 方法,用于首次加载数据时呈现加载效果
- 希望不要把 下拉刷新的动画加到 scroll 元素上,这样在开发中会有很多麻烦,因为我必须刻意的让其他元素设置 z-index 来避免上拉加载的文字和图标不显示出来 HOT 4
- swiper内部嵌套pull组件,左右滑动切换被阻止 HOT 3
- 怎么修改下拉字体的颜色,急
- Great work
- 在小米5手机上checkBottomReached这个方法计算有误
- iOS12.1.4 6s 运行实例中的vue-pull-to-examptes 下拉刷新 在‘加载中’状态的是时候向上滑动 加载数据结束之后 刷新控件消失了。
- 下拉刷新时 SVG logo 不展示, 怎么解决
- 大佬,没有用vue脚手架,script引入vue-pull-to.js 怎么用啊 HOT 1
- 死活不触发方法,不知道为啥
- Bug when using Component in iOS HOT 3
- Support for scrolling using relative position mode
- Scrolling on mobile HOT 5
- it doesn't support nuxtjs HOT 2
- breaking with Vue3 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-pull-to.