-
Notifications
You must be signed in to change notification settings - Fork 120
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
1 photo disappears #7
Comments
I also observe this question. Actually as long as the ALL of images of one column get scrolled out of the top of the view, they won't come back.
|
The cause of this problem is cell-reuse. The following code removes the cell from View when a cell leaves the visible rect, but in this case a new cell is not re-drawn when it bounces back into the frame: A somewhat hacky fix would be only call that code when contentSize.height > frame.size.height, since cell reuse is unnecessary if the content size is smaller than view frame. But that does not address the root issue of not redrawing the cell upon the view bouncing back. |
I've just run at the same problem. Any progress on this? |
… are pulled off when the quilt view bounces.
Good Job,the problem has gone!Thank you! |
@pawartur good work, Thank U!! |
Modify TMDemoQuiltViewController to have only one cell:
const NSInteger kNumberOfCells = 1;
Run the demo project and scroll up the view until you completely hide the photo in the upper margin. It seems as if the photo doesn't come back down.
The text was updated successfully, but these errors were encountered: