-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
企业微信项目中页面不能滚动 #595
Comments
先定位一下是否支持 mousemove 和 touchmove 事件 |
@ustbhuangyi 企业微信应该是支持这两个事件的,因为打开iscroll的例子是没问题,可以用鼠标拖动滚动、下拉、上拉的。 在我们自己的项目中以前一直是正常的,更新了最新版企业微信就有问题了。 |
iscroll(5.2.0) 最新版本在windows系统下最新版本(2.4.22)的企业微信有问题,使用iscroll 5.1.3版本没问题。由于better-scroll参考了iscroll的设计实现,可能也是这个问题。 |
我这没有环境,你那边能否调试一下源码,看看什么问题? |
@ustbhuangyi 问题找到了 需要强制开启touch模式,禁用poiner事件
|
你设置 disableMouse: false 是不是就可以滚动了? |
上面的三个属性我都设置了,然后就可以滚动了。没有一个一个去试。 |
Version
1.12.0
Reproduction link
https://ustbhuangyi.github.io/better-scroll/#/examples/infinity/en
Steps to reproduce
在windows系统下最新版(版本:2.4.22.2024)的企业微信中无法滚动,也无法下拉、上拉。MacOS版本的企业微信无问题。
重现步骤:
在windows下的企业微信中打开官方的例子
What is expected?
可以滚轮滚动、拖动滚动、上拉、下拉等
What is actually happening?
无法滚动、无法拖动、无法下拉、无法下拉
官方有些例子可以滚轮滚动但是不能拖动滚动
The text was updated successfully, but these errors were encountered: