-
Notifications
You must be signed in to change notification settings - Fork 75
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
PullView没有onScroll属性,能否实现呢 #31
Comments
V2.0.2已经实现了,PullView.js文件中有onScroll={this.onScroll} 直接使用PullView的onScroll即可,可以尝试下~~~ |
我想利用onScroll ,获取下拉的百分比,进而实现与自定义RefreshControl的联动,自定义RefreshControl用lottie-react-native实现动画,可以控制动画播放的百分比进度。 能实现么?会不会有性能隐患 |
@greatbsky ,我试了下,在PullView上用OnScroll貌似还是不行,我是在Pullable.js中的onScroll(e){}中加了this.props.onScroll && this.props.onScroll(e);这行代码才使PullView上的OnScroll生效的... |
正如 @toqianqian 所说,直接使用PullView的onScroll是不行的,希望作者@greatbsky 加到代码里去吧,能支持scrollview的其它属性自定义更好 |
onScroll方法有,但依然获取不到滚动距离,你最后弃用了这个组件没? |
PullView实现下拉刷新页面,但是在向下滑动时想实时获得下滑的距离,也就是ScrollView中的onScroll功能,请问下PullView能实现吗
The text was updated successfully, but these errors were encountered: