[Bug Report] loadMore无法上拉加载
- Dominant language
- Vue
- Stars
- 16.4k
- Forks
- 3.5k
- PR merge metrics
- No merged PRs in 30d
Description
### Mint UI version
2.2.7
### OS/Browsers version
cordova 安卓
### Vue version
2.4.4
### Reproduction Link
[https://camo.githubusercontent.com/42ff0f531d87af378a866605c40968f77635a9eb/687474703a2f2f7777342e73696e61696d672e636e2f6c617267652f303036306c6d37546c7931666a79676d6b716a67366a333037383035766161352e6a7067](https://camo.githubusercontent.com/42ff0f531d87af378a866605c40968f77635a9eb/687474703a2f2f7777342e73696e61696d672e636e2f6c617267652f303036306c6d37546c7931666a79676d6b716a67366a333037383035766161352e6a7067)
### Steps to reproduce
安卓cordova打包APP之后使用loadmore组件调试document.body.scrollTop获取值为0
组件 loadMore
环境 cordova打包的安卓webApp中
问题 loadMore组件677行执行document.body.scrollTop获取值为0 调整为document.documentElement.scrollTop后修复
希望Element的大神们做一下兼容性的修复
错误
677 return scrollTop document.documentElement.clientHeight >= document.body.scrollHeight;
### What is Expected?
希望Element的大神们做一下兼容性的修复
### What is actually happening?
let scrollTop = document.body.scrollTop || document.documentElement.scrollTop
677 return scrollTop document.documentElement.clientHeight >= document.body.scrollHeight;
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.