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

mjrefreshautofooter调用endrefreshing无法正确重置scrollview的contentoffset #1610

Open
SmithJackyson opened this issue Apr 22, 2024 · 0 comments
Labels

Comments

@SmithJackyson
Copy link

MJRefreshAutoFooter.m里面的setState方法里面重置contentoffset代码似乎有问题,如果用户这时候一直在交互,isDragging或者isDecelerating为true,会导致此时contentoffset并不处于静止时所处的位置,这时候获取contentoffset来重置scrollview的位置会出错,如果每个cell的大小和scrollview大小一致,最终会导致cell没有对齐scrollview

偶现

期望:能正确重置回没有显示footer时,cell的位置

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

1 participant