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

配合ScrollView层叠使用的时候,滑动ScrollView无法正确的让ScrollLayout展开和关闭 #23

Open
Matcha-xiaobin opened this issue Dec 13, 2018 · 0 comments

Comments

@Matcha-xiaobin
Copy link

Matcha-xiaobin commented Dec 13, 2018

父控件FrameLayout
子控件--ScrollView
子控件--ScrollLayout
大概是这么个层级关系,然后监听了scrollview的滑动事件,滑动的时候,自动退出scrolllayout,但是不起作用。
看了下源代码,是因为没有处理那个scrolllayout的'滑动中'状态,导致scrollview滑动的时候多次调用了scrollTiExit()。并且因为并没真正退出scrollview,导致获取到的状态一直是OPEN。

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