ustbhuangyi/better-scroll

better结合vue 在微软surface pro 上 ie滑动无效 #533

jspdccod posted onGitHub

在使用better-scroll配合vue做滑动的时候,在pc IE 谷歌上没有问题, 其他移动端没有问题, 但是在适配surface pro的时候 ie滑动无效果, 请问有surface的适配经验吗?


没有测过,官方的 demo 是都不可以滑动么

posted by ustbhuangyi almost 7 years ago

对,在surface的ie上滑动均无效果,在surface的chrome上滑动有效果

posted by jspdccod almost 7 years ago

我这边没设备,不好测试呀,你看看能帮助 fix 这个问题吗

posted by ustbhuangyi almost 7 years ago

问题已经定位到了,原因在于surface的滑动属于单点触控, 而是属于多点触控, 想要使用surface的滑动 底层方法走的要是多点的pan方法, tap方法无效,目前正在自己封装surface的滑动

posted by jspdccod almost 7 years ago

@issuehuntfest has funded $20.00 to this issue. See it on IssueHunt

posted by IssueHuntBot about 6 years ago

@rororofff has funded $2.00 to this issue.


posted by IssueHuntBot about 6 years ago

@jspdccod Hi, 这个问题你最后是怎么处理的,能分享一下思路吗,谢谢,我也遇到这个问题QaQ

posted by ghost over 5 years ago

我们的解决方法是再引入了一个叫做 hammer.js的插件,创建了这个插件的实例的多指触碰pan方法后,better就能正常滑动了

| | 李俊奇--web前端开发 邮箱:jspdccod@163.com |

签名由 网易邮箱大师 定制

在2019年07月17日 17:33,hsyoml 写道:

@jspdccod Hi, 这个问题你最后是怎么处理的,能分享一下思路吗,谢谢,我也遇到这个问题QaQ

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

posted by jspdccod over 5 years ago

@jspdccod Hi, 感谢答疑, 再细问下你的意思指的是实例化hammer配合 better-scroll使用(我尝试这个好像没有什么效果~) 应该是使用hammer自己封装scroll行为?

posted by ghost over 5 years ago

Fund this Issue

$22.00
Funded
Only logged in users can fund an issue

Pull requests

Recent activities

rororofff funded 2.00 for ustbhuangyi/better-scroll# 533
about 6 years ago
issuehuntfest funded 20.00 for ustbhuangyi/better-scroll# 533
about 6 years ago