We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.1.1
windows 10 64位 Chrome 版本 72.0.3626.119(正式版本) (64 位)
node v10.14.0 npm 6.8.0
抱歉,网速慢,打不开codesandbox,配置如下
<md-scroll-view ref="scrollView" :scrolling-x="false" immediate-check-end-reaching @refreshing="$_onRefresh" @endReached="$_onEndReached" >
使用scrollview新增属性immediateCheckEndReaching,并没有解决上拉加载的问题
使用了immediateCheckEndReaching参数后 ScrollView初始化成功后,可以自动触发@endReached()事件
看了下源码,应该是endOffset计算错误 Math.abs(endOffset) < 50
$_checkScrollerEnd() { if (!this.scroller) { return } const containerHeight = this.scroller._clientHeight const content = this.scroller._contentHeight const top = this.scroller._scrollTop const moreOffsetY = this.moreOffsetY const moreThreshold = this.endReachedThreshold const endOffset = content - containerHeight - (top + moreOffsetY + moreThreshold) if ( top >= 0 && !this.isEndReaching && endOffset <= 0 && (this.bouncing && Math.abs(endOffset) < 50) && this.endReachedHandler ) { this.endReachedHandler() } }
The text was updated successfully, but these errors were encountered:
fix(scroll-view): update trigger condition of endReached
d21b571
#335
fix(input-item): change virtualKeyboardVm type to string
623bed0
use ref name to look up a component instance in context instead of passing a reference directly #335
No branches or pull requests
Mand Mobile Version
2.1.1
OS Version & Browser Version
windows 10 64位
Chrome 版本 72.0.3626.119(正式版本) (64 位)
Node Version, Package Management Tool
node v10.14.0
npm 6.8.0
Recurring Links
抱歉,网速慢,打不开codesandbox,配置如下
Recurring Steps
使用scrollview新增属性immediateCheckEndReaching,并没有解决上拉加载的问题
Expectant Behaviors
使用了immediateCheckEndReaching参数后
ScrollView初始化成功后,可以自动触发@endReached()事件
看了下源码,应该是endOffset计算错误
Math.abs(endOffset) < 50
The text was updated successfully, but these errors were encountered: