Comments (3)
@xiaozhouwu 从这些信息我不能判断问题的原因。建议你尝试:
- 用出现问题的设备访问 demo 看是否仍有该问题
- 如果demo也有问题,请告诉我该设备的系统及其版本和设备的品牌型号
- 如果demo没有问题,尝试检查tloader是否为固定了高度的滚动区域
from react-touch-loader.
tloader
组件是已经固定了高度的,其它的一切都正常,包括滚动,下拉刷新。我看了组件的源代码,调试的时候发现代码onAnimationEnd={this.animationEnd}>
中的animationEnd
并没有执行。demo是没有问题的,调试是在最新版的chrome,不知何故。
用dom绑定就可以了~~~~
componentDidMount() {
document.getElementsByClassName('tloader')[0].addEventListener('animationend',this.animationEnd);
},
比较郁闷
from react-touch-loader.
这个很抱歉,我暂时也没有思路,等有新发现我们再继续在这里讨论吧~
from react-touch-loader.
Related Issues (20)
- touch-loader.less运行报错 HOT 1
- 如果加载失败了会有什么提示的吗? HOT 2
- 能不能改下es6写法 HOT 2
- Cannot read property 'setState' of null HOT 1
- Cannot read property 'setState' of null HOT 2
- 使用滚动加载第一次必须要手动点击吗? HOT 1
- 能否增加根据body滚动触发的选项
- Refresh is always running. HOT 1
- 是否兼容最新版本的react
- 能不能增加style
- onRefresh
- ios滚动会卡死 HOT 1
- 非常感谢本项目,解决困扰我几天的问题 HOT 1
- 下拉刷新的样式可以自定义吗 HOT 1
- demo 下拉刷新时,加载更多文案被遮挡
- ssr时报错了哦
- 不适用onRefresh下拉刷新方法时,能禁止下拉效果吗 HOT 1
- 第一次滚动底部自动加载 HOT 1
- autoLoadMore 在使用 react 17 下 不好用
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 react-touch-loader.