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

BUG: Final items in a long grid fill in the row with random items #30

Open
joshreeder opened this issue Mar 19, 2014 · 1 comment
Open

Comments

@joshreeder
Copy link

@arturgrigor If I have a grid of items that is long enough to scroll and the final item starts a new row for instance one photo and there should be 3 unused cells to make up a row of 4 items. The grid will autofill in those blank cells with random duplicate items from above rows that have similar placements like the last 3 items in a row would then fill in the last row as well, and even more odd is that if you scroll up and back down those items will change.

This is in OX's code as well.

@Xummer
Copy link

Xummer commented Jun 10, 2014

@mibiodev I found that gridItem was added to AGIPCGridCell by mistake,
please replace the these code in file AGIPCGridCell.m line 47

old

for (AGIPCGridItem *gridItem in _items)
{
     [self addSubview:gridItem];
}

new

for (AGIPCGridItem *gridItem in _items)
{
     [self.contentView addSubview:gridItem];
}

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

2 participants