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

如果设置滚动条,滚动条会出现错乱 #13

Closed
xuwj opened this issue Jun 7, 2016 · 4 comments
Closed

如果设置滚动条,滚动条会出现错乱 #13

xuwj opened this issue Jun 7, 2016 · 4 comments
Labels

Comments

@xuwj
Copy link

xuwj commented Jun 7, 2016

No description provided.

@Aspsine
Copy link
Owner

Aspsine commented Jun 7, 2016

RecyclerView滚动条的绘制逻辑在IRecyclerView中没有做干预。

IRecyclerView的refresh header是通过设置RecycelerView position = 0 这个view的height来实现的。所以,在下拉刷新的过程中,滚动条的绘制会按照position = 0这个view的位置和大小去绘制。这个过程中会造成你描述的错乱。实际更准确一点描述是跳动

在普通的滚动过程中,滚动条应该不会错乱.

要修复上述问题需要在IRecyclerView中干预RecyclerView的滚动条绘制逻辑,目前暂不作处理。

@Aspsine Aspsine closed this as completed Jun 7, 2016
@Aspsine Aspsine added the wontfix label Jun 7, 2016
@xuwj
Copy link
Author

xuwj commented Jun 7, 2016

恩 知道这个 只要设置了refresh header就会造成这个问题。初始显示滚动条也没位于顶部,这个确实要在IRecyclerView做干预才行 争取早日完善。

@Fan-Dev
Copy link

Fan-Dev commented Oct 22, 2016

怎么干预,有思路吗? @xuwj @Aspsine 可别告诉了全世界,这问题有解,但是不说方案。

@SuperZhouyong
Copy link

@Aspsine 大神还是处理下吧,我们也不会处理的哦!!

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

No branches or pull requests

4 participants