cubiq / iscroll

Smooth scrolling for the web
http://iscrolljs.com
MIT License
12.87k stars 3.8k forks source link

I need this feature, this is just an example. #1145

Closed owenliang closed 7 years ago

owenliang commented 7 years ago

When I implement the pull-to-refresh plugin(https://github.com/owenliang/pullToRefresh), I need to lock the iscroll's scrolling-Y for certain direction when user pull up the "pull-down-to-refresh" image.

There is a API called disable/enable, but they affect all direction, MY need is to disable certain direction.

The code works only for my project, but the feature may be added to iscroll5's API, please take a look, thanks.