-
Notifications
You must be signed in to change notification settings - Fork 259
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
Table shake when scroll to bottom #63
Comments
got the same, Especially when I use the Nib file. |
Not seeing this myself, can you guys give me an example project? |
I think it is viewDidLayoutSubviews, you can make a break in the method. It is invoked when scroll to bottom, and collectionView frame will be reset. So you can set frame in viewSafeAreaInsetsDidChange, or auto layout. The error code: |
@daishuyi |
@zhengzhou A temporary solution for you. Do a check before setting the frame should work. if collectionView.frame != view.bounds {
collectionView.frame = view.bounds
} CollectionView removes or inserts a view when it goes on/offscreen. And with Auto layout, This doesn't happen with the CollectionKit example project because it doesn't use auto layout and won't trigger I will see what I can do to overcome this issue in the next release. |
Fixed in v1.3.1. Thanks for reporting. And sorry for the late fixes. |
This fix breaks UIPageViewController default behaviour. Scrolling to last page becomes unpredictable. Also scrollview now does not bounce perfectly back. There is small gap after bouncing back. |
@tigati Please see if @humblehacker's patch #77 fix the issue for you. Checkout the latest master
|
scroll to bottom, and keep scroll with scrollview bounce, the table shake when finger scroll to the margin of two item view
The text was updated successfully, but these errors were encountered: