Skip to content

Conversation

@Muirey03
Copy link

There is an issue with the logic in fillInBlocksToUnrestrictedRow: when using collections views with multiple sections. The for loop for rows starts row at self.lastIndexPathPlaced.row + 1, this is incorrect if section != self.lastIndexPathPlaced.section, in which case, row should start at 0.

To see a demonstration of the issue yourself, create a simple collection view with two sections, each with one item. You should see that only the item in the first section is created. This PR fixes that.

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

Successfully merging this pull request may close these issues.

1 participant