Skip to content
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

alloyTouch.stop()不起作用怎么办 #129

Open
TimerYao opened this issue May 24, 2019 · 0 comments
Open

alloyTouch.stop()不起作用怎么办 #129

TimerYao opened this issue May 24, 2019 · 0 comments

Comments

@TimerYao
Copy link

我在做一个层div拖动 随之改变高度,然后如果拖到顶部时候,需要停止拖动方法,改为div高度自适应可以滑动scroll。(仿照高德地图搜索列表)然后根据scrolltop判断 是否可以重新拖动
现在是到顶部后我alloyTouch.stop(),然后拖div还可以触发alloyTouch实例中写的touchstart 、touchmove方法。停止不下来。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant