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

在JXSegmentedListContainerView嵌套多个带tableView的控制器,快速切换滑动时出现cell重叠现象 #226

Closed
Hjt830 opened this issue Mar 8, 2023 · 1 comment

Comments

@Hjt830
Copy link

Hjt830 commented Mar 8, 2023

在JXSegmentedListContainerView嵌套多个带tableView的控制器,偶现的快速切换滑动时出现cell重叠现象,还有白屏。
1、重叠:
打印了cellForRow方法,返回的高度都不为0,但是第一个页面的tableView里面的所有cell都堆叠在一起,debug查看图层高度都为0
2、白屏:
在第2个tab,连续快速向左滑动到第0个tab时,一定出现白屏,debug发现是scrollViewDidScroll代理方法中的willAppearIndex和willDisappearIndex在滑动到第一个页面时算法有问题,等滑动结束触发scrollViewDidEndDecelerating时,将应该出现的第0个页面调用了listDidDisappear方法

@Hjt830 Hjt830 closed this as completed Apr 4, 2023
@Hjt830
Copy link
Author

Hjt830 commented Apr 4, 2023

是我使用的问题

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