Comments (9)
fastclick确实会有这个问题😔
from vue-pull-to.
之前使用mint-ui的时候也碰到了这个问题,fastclick把touch事件当做是click事件了,fastclick会根据touchMove来区分当前是否为click事件,而由于下拉刷新列表是跟随手指的touch走的,那么touchMove的相对位移没有发生变化,则会被视为click事件...我是怎么理解的 @stackjie 作者大大尝试修复一下哈
from vue-pull-to.
handleTouchEnd
里面加个event.stopPropagation()
就好了
from vue-pull-to.
@JiejiaH 测试了没有了? @stackjie 麻烦您有时间了可以改一下,然后我可以试试看行不行。我这个最后把fastclick给禁掉了。
from vue-pull-to.
ok, 目前fastclick要是不行的话用其它的库代替呗
from vue-pull-to.
@JiejiaH @LeeRayno thx 刚刚我修改测了下 这方法可行,faskclick是不是把clcik拦截了然后变成touchend事件来触发的?
from vue-pull-to.
我记得better-scroll 之前好像也遇到过这个问题,后面不知道怎么解决的,上网搜没有找到答案。你改了发布下,我再试试。
from vue-pull-to.
我也遇到这个问题,然后按照上面的说的
handleTouchEnd里面加个event.stopPropagation()
加了之后,果然好了
from vue-pull-to.
已经修复啦~ 更新0.1.6这个版本,抱歉最近有点忙拖了好久😜
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.